diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-03-16 03:19:15 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 1998-03-16 03:19:15 +0000 |
commit | 233b25513ea9ccb601e9cb48ee8a4e18491aa511 (patch) | |
tree | 3cd335896a9ff5f0da32c8162f949e2c28ed2505 /games/xnibbles/Makefile | |
parent | 1606a48d650a258b3ce5c76f7263c3d57fed02c6 (diff) | |
download | ports-233b25513ea9ccb601e9cb48ee8a4e18491aa511.tar.gz ports-233b25513ea9ccb601e9cb48ee8a4e18491aa511.zip |
Notes
Diffstat (limited to 'games/xnibbles/Makefile')
-rw-r--r-- | games/xnibbles/Makefile | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/games/xnibbles/Makefile b/games/xnibbles/Makefile index 840bac343906..fa24aa1861b7 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> |