ports/56002: Update port: games/3dpong

KATO Tsuguru tkato at prontomail.com
Tue Aug 26 15:10:32 UTC 2003


>Number:         56002
>Category:       ports
>Synopsis:       Update port: games/3dpong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 26 08:10:22 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Utilize DATADIR/DOCSDIR

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/3dpong/Makefile games/3dpong/Makefile
--- /usr/ports/games/3dpong/Makefile	Sat Apr 12 22:46:21 2003
+++ games/3dpong/Makefile	Mon Aug 25 22:34:26 2003
@@ -8,28 +8,26 @@
 PORTNAME=	3dpong
 PORTVERSION=	0.4
 CATEGORIES=	games
-MASTER_SITES=	ftp://ftp.sonic.net/pub/users/nbs/unix/x/3dpong/
+MASTER_SITES=	ftp://ftp.sonic.net/pub/users/nbs/unix/x/3dpong/src/
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	X Window 3D Pong game for 1 or 2 players with a ball and paddles
 
-MAKEFILE=	makefile
-USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
+USE_REINPLACE=	yes
+MAKEFILE=	makefile
 
 post-patch:
 	@${REINPLACE_CMD} -e 's.	chmod .	${CHMOD} .g' \
 		${WRKSRC}/makefile
 
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin
-	@ ${MKDIR} ${PREFIX}/share/3dpong
-	@ ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${PREFIX}/share/3dpong
-
-post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin
+	@${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${DATADIR}
 .if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${PREFIX}/share/doc/3dpong
-	@ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/3dpong
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/3dpong/pkg-plist games/3dpong/pkg-plist
--- /usr/ports/games/3dpong/pkg-plist	Mon Dec 24 11:14:26 2001
+++ games/3dpong/pkg-plist	Mon Aug 25 22:35:19 2003
@@ -1,7 +1,7 @@
 bin/3dpong
-share/3dpong/hit.au
-share/3dpong/score.au
-share/3dpong/wall.au
-%%PORTDOCS%%share/doc/3dpong/README.txt
- at dirrm share/3dpong
-%%PORTDOCS%%@dirrm share/doc/3dpong
+%%DATADIR%%/hit.au
+%%DATADIR%%/score.au
+%%DATADIR%%/wall.au
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list