1998-03-15 20:38:42 +00:00
|
|
|
# New ports collection makefile for: xnibbles
|
|
|
|
# Date created: 2 March 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1998-03-15 20:38:42 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= xnibbles
|
|
|
|
PORTVERSION= 1.0.b3
|
1998-07-27 23:25:33 +00:00
|
|
|
CATEGORIES= games
|
1998-03-15 20:38:42 +00:00
|
|
|
MASTER_SITES= http://www.tjhsst.edu/xnibbles/
|
2000-04-14 12:28:40 +00:00
|
|
|
DISTNAME= xnibbles-1.0BETA3
|
1998-03-15 20:38:42 +00:00
|
|
|
|
2000-03-29 09:02:04 +00:00
|
|
|
MAINTAINER= will@FreeBSD.org
|
1998-03-15 20:38:42 +00:00
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1998-03-15 20:38:42 +00:00
|
|
|
|
|
|
|
ALL_TARGET= linux
|
|
|
|
USE_GMAKE= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-03-15 20:38:42 +00:00
|
|
|
WRKSRC= ${WRKDIR}/xnibbles
|
|
|
|
|
|
|
|
MAN6= xnibbles.6
|
|
|
|
|
1998-03-16 03:19:15 +00:00
|
|
|
CFLAGS+= -I ${X11BASE}/include -L ${X11BASE}/lib
|
|
|
|
|
1998-03-15 20:38:42 +00:00
|
|
|
do-install:
|
1998-03-16 03:19:15 +00:00
|
|
|
@${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 \
|
1998-03-15 20:38:42 +00:00
|
|
|
${RM} ${PREFIX}/share/xnibbles/levels/LEVELS; \
|
1998-03-16 03:19:15 +00:00
|
|
|
fi
|
|
|
|
@${TOUCH} ${PREFIX}/share/xnibbles/levels/LEVELS
|
1998-03-15 20:38:42 +00:00
|
|
|
.for file in 001 002 003 004 005 006 007 008 009 010 011 012
|
1998-03-16 03:19:15 +00:00
|
|
|
@${ECHO} ${PREFIX}/share/xnibbles/levels/level${file}.xnl >> ${PREFIX}/share/xnibbles/levels/LEVELS
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/levels/*.xnl ${PREFIX}/share/xnibbles/levels
|
1998-03-15 20:38:42 +00:00
|
|
|
.endfor
|
1998-03-16 03:19:15 +00:00
|
|
|
@${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
|
1998-03-15 20:38:42 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|