diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-24 00:24:30 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-24 00:24:30 +0000 |
commit | 81c7376bc06bff8c90c812f3c101a13923da81bc (patch) | |
tree | f8ef9b2440b5a06e8402ac692ea085a8e4839500 /games/linux-quake3-demo | |
parent | e36b9396555fd202058a62aa7719ff41a1bfee8e (diff) | |
download | ports-81c7376bc06bff8c90c812f3c101a13923da81bc.tar.gz ports-81c7376bc06bff8c90c812f3c101a13923da81bc.zip |
Notes
Diffstat (limited to 'games/linux-quake3-demo')
-rw-r--r-- | games/linux-quake3-demo/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile index 7878b288730d..b5ef1172260d 100644 --- a/games/linux-quake3-demo/Makefile +++ b/games/linux-quake3-demo/Makefile @@ -28,22 +28,21 @@ DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} SUB_FILES= q3demo -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-extract: @${MKDIR} ${WRKDIR} @cd ${WRKDIR} && ${TAIL} +165 ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ ${TAR} zxf - do-install: - @${INSTALL_SCRIPT} ${WRKDIR}/q3demo ${PREFIX}/bin - @${MKDIR} ${DATADIR} - @${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.0/q3demo ${DATADIR} - @${CP} -R ${WRKSRC}/demoq3 ${DATADIR} - @${LN} -s ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 ${DATADIR}/libGL.so -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - @${CP} -R ${WRKSRC}/Help/* ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKDIR}/q3demo ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/bin/x86/glibc-2.0/q3demo ${STAGEDIR}${DATADIR} + ${CP} -R ${WRKSRC}/demoq3 ${STAGEDIR}${DATADIR} + ${LN} -s ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 ${STAGEDIR}${DATADIR}/libGL.so + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${CP} -R ${WRKSRC}/Help/* ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |