2005-05-16 00:02:26 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2005/05/15 22:02:27 jlam Exp $
|
2002-05-12 02:02:15 +02:00
|
|
|
#
|
|
|
|
|
2003-01-06 20:48:08 +01:00
|
|
|
DISTNAME= xrick-021212
|
2005-03-27 17:43:32 +02:00
|
|
|
PKGREVISION= 6
|
2002-05-12 02:02:15 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.bigorno.net/xrick/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= pino@dohd.org
|
|
|
|
HOMEPAGE= http://www.bigorno.net/xrick/
|
|
|
|
COMMENT= Rick Dangerous clone for X
|
|
|
|
|
|
|
|
RESTRICTED= "Copyright of graphics, images, maps, and sounds is questionable."
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
|
2004-01-24 14:30:55 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2005-05-16 00:02:26 +02:00
|
|
|
PKGSRC_USE_TOOLS+= gunzip
|
2002-08-27 21:09:12 +02:00
|
|
|
USE_X11= YES
|
2002-05-12 02:02:15 +02:00
|
|
|
|
2004-03-07 03:59:42 +01:00
|
|
|
SUBST_CLASSES+= data
|
|
|
|
SUBST_STAGE.data= post-patch
|
|
|
|
SUBST_MESSAGE.data= Adjusting path to data.zip
|
|
|
|
SUBST_FILES.data= src/xrick.c
|
2004-08-07 11:28:20 +02:00
|
|
|
SUBST_SED.data= -e "s|data.zip|${PREFIX}/share/xrick/&|"
|
2004-03-07 03:59:42 +01:00
|
|
|
|
2002-05-12 02:02:15 +02:00
|
|
|
post-extract:
|
|
|
|
cd ${WRKSRC} && ${GUNZIP_CMD} xrick.6.gz
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xrick.6 ${PREFIX}/man/man6
|
2003-01-06 20:48:08 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/xrick
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data.zip ${PREFIX}/share/xrick
|
2002-05-12 02:02:15 +02:00
|
|
|
|
2004-03-07 03:59:42 +01:00
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
2002-05-12 02:02:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|