aboutsummaryrefslogtreecommitdiff
path: root/games/3dpong/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-26 15:39:59 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-26 15:39:59 +0000
commit7a200cf0020482390773035c378da2172418fc1f (patch)
tree810268209819b728f35be3e89d573c2ef12403b4 /games/3dpong/Makefile
parente619ba0b38022ba71ed139263ae265cec0f2d6fa (diff)
downloadports-7a200cf0020482390773035c378da2172418fc1f.tar.gz
ports-7a200cf0020482390773035c378da2172418fc1f.zip
Notes
Diffstat (limited to 'games/3dpong/Makefile')
-rw-r--r--games/3dpong/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/games/3dpong/Makefile b/games/3dpong/Makefile
index d545717163da..816cf3a2be4b 100644
--- a/games/3dpong/Makefile
+++ b/games/3dpong/Makefile
@@ -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@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>