2013-01-13 03:11:13 +01:00
|
|
|
# Created by: Ceri Davies (ceri@FreeBSD.org)
|
2003-12-04 12:48:32 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= robotfindskitten
|
2013-01-13 03:11:13 +01:00
|
|
|
PORTVERSION= 2.7182818.701
|
2013-02-08 19:49:08 +01:00
|
|
|
PORTREVISION= 1
|
2008-08-19 11:09:05 +02:00
|
|
|
PORTEPOCH= 1
|
2003-12-04 12:48:32 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://robotfindskitten.org/download/POSIX/
|
|
|
|
|
2009-03-28 02:16:37 +01:00
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
2003-12-04 12:48:32 +01:00
|
|
|
COMMENT= Yet another zen simulation
|
|
|
|
|
2013-01-13 03:11:13 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2003-12-04 12:48:32 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2013-02-08 19:49:08 +01:00
|
|
|
OPTIONS_DEFINE= EXTRANKI MEGAHYPERDEATH
|
|
|
|
|
|
|
|
EXTRANKI_DESC= Install additional Non Kitten Items
|
|
|
|
MEGAHYPERDEATH_DESC= Add the possibility of MEGA. HYPER. DEATH!
|
|
|
|
|
|
|
|
OPTIONS_DEFAULT= EXTRANKI
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MEXTRANKI}
|
|
|
|
SUB_FILES= freebsd.nki nethack.nki
|
|
|
|
PLIST_SUB+= EXTRANKI=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EXTRANKI="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MMEGAHYPERDEATH}
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-megahyperdeath
|
|
|
|
.endif
|
|
|
|
|
2013-01-13 03:11:13 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,/usr/share/games/robotfindskitten,${DATADIR},' \
|
|
|
|
${WRKSRC}/doc/robotfindskitten.6
|
|
|
|
|
|
|
|
do-install:
|
2014-05-21 20:26:53 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/robotfindskitten ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/nki/vanilla.nki ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/robotfindskitten.6 ${STAGEDIR}${MANPREFIX}/man/man6
|
2003-12-04 12:48:32 +01:00
|
|
|
|
2013-02-08 19:49:08 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXTRANKI}
|
|
|
|
.for NKI in ${SUB_FILES}
|
2014-05-21 20:26:53 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${NKI} ${STAGEDIR}${DATADIR}
|
2013-02-08 19:49:08 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2003-12-04 12:48:32 +01:00
|
|
|
.include <bsd.port.mk>
|