summaryrefslogtreecommitdiffstats
path: root/games/xnibbles/Makefile
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-03-16 03:19:15 +0000
committerhoek <hoek@FreeBSD.org>1998-03-16 03:19:15 +0000
commitdde28e452641fdcb3d9adb59347e6c1efdfec6d0 (patch)
tree90eeba41d5af3a5e5c9bf832092dfdfd4534e96a /games/xnibbles/Makefile
parentc48f9fe2834b10cb26ddffcf4c2e429810126651 (diff)
downloadFreeBSD-ports-dde28e452641fdcb3d9adb59347e6c1efdfec6d0.zip
FreeBSD-ports-dde28e452641fdcb3d9adb59347e6c1efdfec6d0.tar.gz
Merge the changes (correct style) I made to the port.
Note that we don't need more copies of the GNU GPL license in the system.
Diffstat (limited to 'games/xnibbles/Makefile')
-rw-r--r--games/xnibbles/Makefile33
1 files changed, 17 insertions, 16 deletions
diff --git a/games/xnibbles/Makefile b/games/xnibbles/Makefile
index 840bac3..fa24aa1 100644
--- a/games/xnibbles/Makefile
+++ b/games/xnibbles/Makefile
@@ -3,7 +3,7 @@
# Date created: 2 March 1998
# Whom: Andrey Zakhvatov
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/03/15 20:38:35 steve Exp $
#
DISTNAME= xnibbles-1.0BETA3
@@ -22,24 +22,25 @@ WRKSRC= ${WRKDIR}/xnibbles
MAN6= xnibbles.6
+CFLAGS+= -I ${X11BASE}/include -L ${X11BASE}/lib
+
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/xnibbles ${PREFIX}/bin
- @ ${INSTALL_MAN} ${WRKSRC}/xnibbles.6 ${PREFIX}/man/man6
- @ ${MKDIR} ${PREFIX}/share/xnibbles/sounds
- @ ${INSTALL_DATA} ${WRKSRC}/sounds/*.ub ${PREFIX}/share/xnibbles/sounds
- @ ${MKDIR} ${PREFIX}/share/xnibbles/levels
- @ if [ -f ${PREFIX}/share/xnibbles/levels/LEVELS ]; then \
+ @${INSTALL_PROGRAM} ${WRKSRC}/xnibbles ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/xnibbles.6 ${PREFIX}/man/man6
+ @${MKDIR} ${PREFIX}/share/xnibbles/sounds
+ @${INSTALL_DATA} ${WRKSRC}/sounds/*.ub ${PREFIX}/share/xnibbles/sounds
+ @${MKDIR} ${PREFIX}/share/xnibbles/levels
+ @if [ -f ${PREFIX}/share/xnibbles/levels/LEVELS ]; then \
${RM} ${PREFIX}/share/xnibbles/levels/LEVELS; \
- fi
- @ ${TOUCH} ${PREFIX}/share/xnibbles/levels/LEVELS
+ fi
+ @${TOUCH} ${PREFIX}/share/xnibbles/levels/LEVELS
.for file in 001 002 003 004 005 006 007 008 009 010 011 012
- @ ${ECHO} ${PREFIX}/share/xnibbles/levels/level${file}.xnl >> ${PREFIX}/share/xnibbles/levels/LEVELS
- @ ${INSTALL_DATA} ${WRKSRC}/levels/*.xnl ${PREFIX}/share/xnibbles/levels
-.endfor
- @ ${MKDIR} ${PREFIX}/share/doc/xnibbles
-.for file in COPYING README TODO
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xnibbles
+ @${ECHO} ${PREFIX}/share/xnibbles/levels/level${file}.xnl >> ${PREFIX}/share/xnibbles/levels/LEVELS
+ @${INSTALL_DATA} ${WRKSRC}/levels/*.xnl ${PREFIX}/share/xnibbles/levels
.endfor
- @ ${INSTALL_DATA} ${WRKSRC}/levels/README ${PREFIX}/share/doc/xnibbles/README.levels
+ @${MKDIR} ${PREFIX}/share/doc/xnibbles
+ @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xnibbles
+ @${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/xnibbles
+ @${INSTALL_DATA} ${WRKSRC}/levels/README ${PREFIX}/share/doc/xnibbles/README.levels
.include <bsd.port.mk>
OpenPOWER on IntegriCloud