diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-08-03 23:59:44 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-08-03 23:59:44 +0000 |
commit | de9a30a11a2cac267cfef5a6b1bf334f609a1e6d (patch) | |
tree | bfa8a96bcac503a74bf2ea2f090538fb5859a698 /games | |
parent | 231c94edfb8b62388f25e95c95e4ec342c4f89ba (diff) | |
download | ports-de9a30a11a2cac267cfef5a6b1bf334f609a1e6d.tar.gz ports-de9a30a11a2cac267cfef5a6b1bf334f609a1e6d.zip |
- Bump PORTREVISION.
- Rename directories and programs with a "linux-" prefix.
- Add NO_CDROM and NO_PACKAGE (LEGAL entry shared with "games/linux-quake4").
- Use MASTER_SITE_SUBDIR and groups.
- Fix directory for MASTER_SITE_IDSOFTWARE.
Notes
Notes:
svn path=/head/; revision=169606
Diffstat (limited to 'games')
-rw-r--r-- | games/linux-quake4-demo/Makefile | 18 | ||||
-rw-r--r-- | games/linux-quake4-demo/pkg-plist | 4 |
2 files changed, 14 insertions, 8 deletions
diff --git a/games/linux-quake4-demo/Makefile b/games/linux-quake4-demo/Makefile index 5907480f922c..ce4ce94b60f2 100644 --- a/games/linux-quake4-demo/Makefile +++ b/games/linux-quake4-demo/Makefile @@ -7,9 +7,11 @@ PORTNAME= quake4 PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= games linux -MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S|$|quake4/linux/|} \ - ${MASTER_SITE_GENTOO:S|$|distfiles/|} +MASTER_SITES= ${MASTER_SITE_IDSOFTWARE:S/$/:id/} \ + ${MASTER_SITE_GENTOO:S/$/:gentoo/} +MASTER_SITE_SUBDIR= quake4/demo/:id distfiles/:gentoo PKGNAMEPREFIX= linux- PKGNAMESUFFIX= -demo DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX}${PORTVERSION}${PKGNAMESUFFIX}.x86 @@ -23,8 +25,10 @@ RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 ONLY_FOR_ARCHS= i386 amd64 USE_LINUX= yes NO_WRKSUBDIR= yes +NO_CDROM= Redistribution is limited, see license +NO_PACKAGE= Package will be 337MB, set FORCE_PACKAGE if you really want it -Q4DIR= lib/${PORTNAME}${PKGNAMESUFFIX} +Q4DIR= lib/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB= Q4DIR="${Q4DIR}" do-extract: @@ -38,14 +42,16 @@ do-build: @${SED} \ -e 's|@Q4DIR@|${PREFIX}/${Q4DIR}|' \ -e 's|@APP@|${FILE}.x86|' \ - ${FILESDIR}/run.sh.in > ${WRKSRC}/${FILE}.sh + ${FILESDIR}/run.sh.in > ${WRKSRC}/${PKGNAMEPREFIX}${FILE}.sh .endfor do-install: ${MKDIR} ${PREFIX}/${Q4DIR}/q4base .for FILE in quake4 q4ded - ${INSTALL_SCRIPT} ${WRKSRC}/${FILE}.sh ${PREFIX}/bin/${FILE}-demo - ${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/${FILE}.x86 ${PREFIX}/${Q4DIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAMEPREFIX}${FILE}.sh \ + ${PREFIX}/bin/${PKGNAMEPREFIX}${FILE}-demo + ${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/${FILE}.x86 \ + ${PREFIX}/${Q4DIR} .endfor ${INSTALL_DATA} ${WRKSRC}/q4base/* ${PREFIX}/${Q4DIR}/q4base diff --git a/games/linux-quake4-demo/pkg-plist b/games/linux-quake4-demo/pkg-plist index 9449b3629552..c5d69d54d12b 100644 --- a/games/linux-quake4-demo/pkg-plist +++ b/games/linux-quake4-demo/pkg-plist @@ -1,5 +1,5 @@ -bin/q4ded-demo -bin/quake4-demo +bin/linux-q4ded-demo +bin/linux-quake4-demo %%Q4DIR%%/q4ded.x86 %%Q4DIR%%/quake4.x86 %%Q4DIR%%/q4base/game000.pk4 |