freebsd-ports/games/linux-enemyterritory-shrub/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

42 lines
939 B
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= shrub
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= games linux
MASTER_SITES= LOCAL/alepulver
PKGNAMEPREFIX= linux-enemyterritory-
DISTNAME= 1.2-test13-l
MAINTAINER= ports@FreeBSD.org
COMMENT= Shrub - An Enemy Territory Modification
RUN_DEPENDS= et:games/linux-enemyterritory
USES= zip
USE_LINUX= yes
NO_WRKSUBDIR= yes
DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
PLIST_FILES= bin/et-${PORTNAME} \
bin/etded-${PORTNAME} \
%%DATADIR%%/qagame.mp.i386.so
PLIST_DIRS= %%DATADIR%%
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
${INSTALL_SCRIPT} ${WRKSRC}/${f}-${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/qagame.mp.i386.so ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>