Bug 90404 - Update port: games/oneko-sakura update distfile
Summary: Update port: games/oneko-sakura update distfile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 21:30 UTC by Jean Milanez Melo
Modified: 2005-12-19 09:24 UTC (History)
1 user (show)

See Also:


Attachments
oneko-sakura.diff (1.82 KB, patch)
2005-12-14 21:30 UTC, Jean Milanez Melo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Milanez Melo 2005-12-14 21:30:02 UTC
	
- Updated the distinfo, the tarball name is now oneko-1.2.sakura.5.tar.gz.
- Bumped portrevision to 1.
- Patchfile is not necessary anymore to this portversion. I've tested and it's work well.
- Added missing plist file: oneko.6.html
- Maintainer has been CCed.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-12-14 21:33:12 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 hotaru 2005-12-15 02:43:00 UTC
hi, this is the maintainer of games/oneko-sakura.
I found that CLAMP's web site has moved. Please change the 'NO_CDROM'.

diff -ruN oneko-sakura.old/Makefile oneko-sakura/Makefile
	<snip>
-NO_CDROM=     "Including derivatives from CARDCAPTOR SAKURA. See http://www.clamp.f-2.co.jp/"
+NO_CDROM=     "Including derivatives from CARDCAPTOR SAKURA. See http://www.clamp-net.com/ -> INFORMATION"

it seems that other things are OK.

thank you,

-- 
HOTARU-YA <hotaru@tail.net>
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2005-12-15 14:02:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

I'll take it.
Comment 4 Jean Milanez Melo 2005-12-15 16:07:07 UTC
Dear maintainer,

I've found a problem with PLIST_FILES in some cases (i don't know why), 
the program installs a file oneko.6.html, breaking PLIST. So i added a 
post-configure section removing the oneko.6.html install on source 
Makefile. Now it won't be installed this file anymore.

Do you approve it?

Following the patch (include your requested modification on NO_CDROM):

diff -ruN oneko-sakura.old/Makefile oneko-sakura/Makefile
--- oneko-sakura.old/Makefile	Fri Feb  6 11:11:20 2004
+++ oneko-sakura/Makefile	Thu Dec 15 13:53:53 2005
@@ -7,14 +7,10 @@

  PORTNAME=	oneko
  PORTVERSION=	1.2
+PORTREVISION=	1
  CATEGORIES=	games
-MASTER_SITES= 
http://riksun.riken.go.jp/archives/Linux/pje/PJE-0.1.5/sources/xclt/oneko/ \
-		http://hp.vector.co.jp/authors/VA004959/oneko/
-PKGNAMESUFFIX=	-sakura5
-
-PATCH_SITES=	http://www.daidouji.com/oneko/distfiles/
-PATCHFILES=	oneko-1.2.sakura.5.diff.gz
-PATCH_DIST_STRIP=	-p1
+MASTER_SITES=	http://www.daidouji.com/oneko/distfiles/
+DISTNAME=	${PORTNAME}-${PORTVERSION}.sakura.5

  MAINTAINER=	hotaru@tail.net
  COMMENT=	A cat, Sakura or Tomoyo chasing a mouse all over the screen
@@ -23,14 +19,16 @@
  USE_REINPLACE=	yes
  MAN6=		oneko.6
  PLIST_FILES=	bin/oneko
-NO_CDROM=	"Including derivatives from CARDCAPTOR SAKURA. See 
http://www.clamp.f-2.co.jp/"
-RESTRICTED_FILES=	${PATCHFILES}
+NO_CDROM=	"Including derivatives from CARDCAPTOR SAKURA. See 
http://www.clamp-net.com/"

-pre-patch:
+pre-configure:
  	@${REINPLACE_CMD} -e 's,/\*\*/# Cannot compile in using Gcc,/* Cannot 
compile using Gcc */,' \
  	${WRKSRC}/Imakefile
-
-pre-configure:
  	@${ECHO_CMD} "MANSUFFIX=6" >>${WRKSRC}/Imakefile
+
+post-configure:
+	@${REINPLACE_CMD} -e 's,^all:: oneko\..*\.html$$,,' \
+	-e 's,^install.man:: oneko\..*\.html$$,do-nada:,' \
+	${WRKSRC}/Makefile

  .include <bsd.port.mk>
diff -ruN oneko-sakura.old/distinfo oneko-sakura/distinfo
--- oneko-sakura.old/distinfo	Wed Mar 31 00:08:00 2004
+++ oneko-sakura/distinfo	Wed Dec 14 18:31:59 2005
@@ -1,4 +1,3 @@
-MD5 (oneko-1.2.tar.gz) = 890a476b54e13bfd4ab21440c6a5a8e2
-SIZE (oneko-1.2.tar.gz) = 56353
-MD5 (oneko-1.2.sakura.5.diff.gz) = 437dab4e829f6e4d39f7326e5d6749c1
-SIZE (oneko-1.2.sakura.5.diff.gz) = 29593
+MD5 (oneko-1.2.sakura.5.tar.gz) = 456b318fa6e61431bf4f0a42b110014a
+SHA256 (oneko-1.2.sakura.5.tar.gz) = 
2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f
+SIZE (oneko-1.2.sakura.5.tar.gz) = 76825
Comment 5 hotaru 2005-12-16 06:48:06 UTC
Mr/Ms Jean Milanez Melo,

Jean Milanez Melo <jmelo@freebsdbrasil.com.br> wrote:
|
|I've found a problem with PLIST_FILES in some cases (i don't know why), 
|the program installs a file oneko.6.html, breaking PLIST. So i added a 
|post-configure section removing the oneko.6.html install on source 
|Makefile. Now it won't be installed this file anymore.
|
|Do you approve it?

I approve it. Thanks a lot for your good job and fixes.

-- 
HOTARU-YA <hotaru@tail.net>
Comment 6 Renato Botelho freebsd_committer freebsd_triage 2005-12-19 09:24:07 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!