aboutsummaryrefslogtreecommitdiff
path: root/games/tenebrae/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-11 03:06:55 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-11 03:06:55 +0000
commitf770f5bafffb5de6875a431552fe784da36570a1 (patch)
tree284258322390c481b7f3eca434d9e3d20f5b16fd /games/tenebrae/Makefile
parent2ea2669da47f7759e6a1890a5a90bc34ff483663 (diff)
downloadports-f770f5bafffb5de6875a431552fe784da36570a1.tar.gz
ports-f770f5bafffb5de6875a431552fe784da36570a1.zip
Notes
Diffstat (limited to 'games/tenebrae/Makefile')
-rw-r--r--games/tenebrae/Makefile28
1 files changed, 8 insertions, 20 deletions
diff --git a/games/tenebrae/Makefile b/games/tenebrae/Makefile
index 06c2db754123..333dbf6163f6 100644
--- a/games/tenebrae/Makefile
+++ b/games/tenebrae/Makefile
@@ -12,11 +12,11 @@ DISTFILES= ${PORTNAME}_src${EXTRACT_SUFX} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Quake engine with lighting similar to that in Doom III
-LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
+USES= gmake
USE_ZIP= yes
USE_DOS2UNIX= yes
-USE_GMAKE= yes
USE_GL= glu
USE_SDL= yes
USE_XORG= xxf86dga
@@ -32,12 +32,7 @@ OPTIONS_DEFAULT_i386= ASM
OPTIONS_DEFINE_amd64= ASM
OPTIONS_DEFAULT_amd64= ASM
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MASM}
-MAKE_ENV+= USE_ASM=1
-.endif
+ASM_MAKE_ENV= USE_ASM=1
post-patch:
${REINPLACE_CMD} -e 's|gray_1_2_4_to_8|expand_&|' \
@@ -48,19 +43,12 @@ pre-build:
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/bin/${PORTNAME} \
- ${PREFIX}/bin
- @${MKDIR} ${Q1DIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${Q1DIR}/${PORTNAME}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${Q1DIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${STAGEDIR}${Q1DIR}/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${TR} -d '\r' < ${WRKDIR}/Tenebrae_Readme.txt \
- > ${DOCSDIR}/Tenebrae_Readme.txt
-.endif
-
-post-install:
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
+ > ${STAGEDIR}${DOCSDIR}/Tenebrae_Readme.txt
.include "${.CURDIR}/../quake-data/Makefile.include"
.include <bsd.port.mk>