diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-06-06 15:39:00 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-06-06 15:39:00 +0000 |
commit | c421264d034dbc0e2a0e809f755fa7d5ba9da899 (patch) | |
tree | 40c6fcc899e8c00eb868d609f3bdf8377e24e000 /games/quake2-lights/Makefile | |
parent | 8c3cb83adcba7a6e5458efd4da25e7668190ac40 (diff) | |
download | ports-c421264d034dbc0e2a0e809f755fa7d5ba9da899.tar.gz ports-c421264d034dbc0e2a0e809f755fa7d5ba9da899.zip |
Notes
Diffstat (limited to 'games/quake2-lights/Makefile')
-rw-r--r-- | games/quake2-lights/Makefile | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/games/quake2-lights/Makefile b/games/quake2-lights/Makefile index b44fd8177367..f2f2acda133e 100644 --- a/games/quake2-lights/Makefile +++ b/games/quake2-lights/Makefile @@ -1,12 +1,11 @@ -# Created by: alepulver +# Created by: Alejandro Pulver <alepulver@FreeBSD.org> # $FreeBSD$ PORTNAME= lights PORTVERSION= 1 CATEGORIES= games -MASTER_SITES= http://qudos.quakedev.com/linux/quake2/mods/:data \ - ${MASTER_SITE_LOCAL:S|$|:src|} -MASTER_SITE_SUBDIR= alepulver/:src +MASTER_SITES= http://bfeared.com/library/quake/archive/quakedev/qudos/quake2/mods/:data \ + LOCAL/alepulver/:src PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX} DISTNAME= Lights.v${PORTVERSION}.Linux DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:data,src \ @@ -22,26 +21,22 @@ ALL_TARGET= release DOCSDIR= ${PREFIX}/share/doc/${LATEST_LINK} -NO_STAGE= yes -.include "${.CURDIR}/../quake2-data/Makefile.include" - -.include <bsd.port.pre.mk> - post-patch: @${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${BUILD_WRKSRC}/q_shared.c @${REINPLACE_CMD} -e 's/<malloc\.h>/<stdlib.h>/' \ ${BUILD_WRKSRC}/ace/acebot_compress.c do-install: - ${MKDIR} ${Q2DIR}/${PORTNAME} + @${MKDIR} ${STAGEDIR}${Q2DIR}/${PORTNAME} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/lights/game.so \ - ${Q2DIR}/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/lights/pak99.pak ${Q2DIR}/${PORTNAME} - cd ${WRKSRC}/quake2/lights && \ - ${CP} -R autoexec.cfg demos pics sprites ${Q2DIR}/${PORTNAME} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/quake2/lights/Readme. ${DOCSDIR}/readme.txt -.endif + ${STAGEDIR}${Q2DIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/lights/pak99.pak \ + ${STAGEDIR}${Q2DIR}/${PORTNAME} + cd ${WRKSRC}/quake2/lights && ${CP} -a autoexec.cfg demos pics \ + sprites ${STAGEDIR}${Q2DIR}/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/quake2/lights/Readme. \ + ${STAGEDIR}${DOCSDIR}/readme.txt -.include <bsd.port.post.mk> +.include "${.CURDIR}/../quake2-data/Makefile.include" +.include <bsd.port.mk> |