2013-09-20 19:36:33 +02:00
|
|
|
# Created by: alepulver
|
2006-05-11 20:53:55 +02:00
|
|
|
|
|
|
|
PORTNAME= shrub
|
|
|
|
PORTVERSION= 1.2
|
2006-05-31 03:43:26 +02:00
|
|
|
PORTREVISION= 1
|
2006-05-11 20:53:55 +02:00
|
|
|
CATEGORIES= games linux
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= LOCAL/alepulver
|
2006-05-11 20:53:55 +02:00
|
|
|
PKGNAMEPREFIX= linux-enemyterritory-
|
|
|
|
DISTNAME= 1.2-test13-l
|
|
|
|
|
2011-02-27 05:54:41 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-05-11 20:53:55 +02:00
|
|
|
COMMENT= Shrub - An Enemy Territory Modification
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS= et:games/linux-enemyterritory
|
2006-05-11 20:53:55 +02:00
|
|
|
|
2016-09-05 21:23:42 +02:00
|
|
|
USES= linux zip
|
2006-05-11 20:53:55 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
|
|
|
|
|
|
|
|
PLIST_FILES= bin/et-${PORTNAME} \
|
|
|
|
bin/etded-${PORTNAME} \
|
|
|
|
%%DATADIR%%/qagame.mp.i386.so
|
2014-12-22 22:38:23 +01:00
|
|
|
PLIST_DIRS= %%DATADIR%%
|
2006-05-11 20:53:55 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
.for f in et etded
|
|
|
|
@(${ECHO} "#!/bin/sh"; \
|
|
|
|
${ECHO} 'exec ${PREFIX}/bin/${f} +set fs_game ${PORTNAME} "$$@"') > \
|
|
|
|
${WRKSRC}/${f}-${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
.for f in et etded
|
2014-04-14 20:45:17 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f}-${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2006-05-11 20:53:55 +02:00
|
|
|
.endfor
|
2014-04-14 20:45:17 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qagame.mp.i386.so ${STAGEDIR}${DATADIR}
|
2006-05-11 20:53:55 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|