diff options
author | asami <asami@FreeBSD.org> | 2000-04-17 07:33:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-04-17 07:33:39 +0800 |
commit | b5b84b324103cea40f0ab71394d8a4729fdca07c (patch) | |
tree | 4e7104935fca91e44b71f30b6869e7a6243d3e5b /games/quakeforge | |
parent | 7fdb03760a097efd9715e77af084814e6185f195 (diff) | |
download | freebsd-ports-gnome-b5b84b324103cea40f0ab71394d8a4729fdca07c.tar.gz freebsd-ports-gnome-b5b84b324103cea40f0ab71394d8a4729fdca07c.tar.zst freebsd-ports-gnome-b5b84b324103cea40f0ab71394d8a4729fdca07c.zip |
Fix to make this work in new PORTNAME/PORTVERSION scheme. This port
uses PKGNAME as part of the directory structure so the "pre" -> "p" change
screwed up a whole bunch of stuff.
Reported and reviewed by: Scott Allendorf <scott-allendorf@uiowa.edu>
Diffstat (limited to 'games/quakeforge')
-rw-r--r-- | games/quakeforge/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile index 010b8caca134..5b6d7de47b6c 100644 --- a/games/quakeforge/Makefile +++ b/games/quakeforge/Makefile @@ -29,7 +29,8 @@ CVS_DATE= Tue Jan 4 03:20:17 GMT 2000 SED?= /usr/bin/sed CVS_DATE_!= ${ECHO} -n "${CVS_DATE}" | ${SED} 's/[ \t:]/_/g' CVS_SITES= :pserver:anonymous@cvs.quake.sourceforge.net:/cvsroot/quake -STAMPFILE= ${DISTDIR}/${PKGNAME}/.stamp +DIRNAME= ${PORTNAME}-0.10.0pre +STAMPFILE= ${DISTDIR}/${DIRNAME}/.stamp WRKSRC= ${WRKDIR}/quakeforge USE_GMAKE= yes USE_AUTOCONF= yes @@ -48,9 +49,9 @@ do-fetch: @if [ ! -e ${STAMPFILE} ] || \ [ "X${CVS_DATE}" != "X$$(${CAT} ${STAMPFILE})" ]; then \ ${ECHO_MSG} "No stamp file (or out of date)"; \ - if [ -e ${DISTDIR}/${PKGNAME}.${CVS_DATE_}.tar.gz ]; then \ + if [ -e ${DISTDIR}/${DIRNAME}.${CVS_DATE_}.tar.gz ]; then \ cd ${DISTDIR}; \ - ${TAR} xfz ${PKGNAME}.${CVS_DATE_}.tar.gz \ + ${TAR} xfz ${DIRNAME}.${CVS_DATE_}.tar.gz \ ${DISTFILES}; \ ${ECHO} -n "${CVS_DATE}" > ${STAMPFILE}; \ exit; \ @@ -59,8 +60,8 @@ do-fetch: if [ -n "${PORTS_CVS_RSH}" ]; then \ export CVS_RSH="${PORTS_CVS_RSH}"; \ fi; \ - ${MKDIR} ${DISTDIR}/${PKGNAME} && \ - cd ${DISTDIR}/${PKGNAME}; \ + ${MKDIR} ${DISTDIR}/${DIRNAME} && \ + cd ${DISTDIR}/${DIRNAME}; \ for CVS_SITE in ${CVS_SITES}; do \ ${ECHO_MSG} ">> Attempting to CVS checkout from $${CVS_SITE}."; \ case "$${CVS_SITE}" in \ @@ -87,7 +88,7 @@ do-fetch: ${CVS_CMD} -d $${CVS_SITE} logout < /dev/null; \ fi; \ done; \ - ${ECHO_MSG} ">> Couldn't CVS checkout ${PKGNAME}. Please try to retrieve"; \ + ${ECHO_MSG} ">> Couldn't CVS checkout ${DIRNAME}. Please try to retrieve"; \ ${ECHO_MSG} ">> a snapshot with \"make fetchsrctarball\" and try again."; \ exit 1; \ fi @@ -96,12 +97,12 @@ do-fetch: makesrctarball: fetch @cd ${DISTDIR}; \ ${ECHO_MSG} ">> Creating source tarball in ${DISTDIR}"; \ - ${ECHO_MSG} ">> \"${PKGNAME}.${CVS_DATE_}.tar.gz\"."; \ - ${TAR} cfz ${PKGNAME}.${CVS_DATE_}.tar.gz ${PKGNAME} + ${ECHO_MSG} ">> \"${DIRNAME}.${CVS_DATE_}.tar.gz\"."; \ + ${TAR} cfz ${DIRNAME}.${CVS_DATE_}.tar.gz ${DIRNAME} fetchsrctarball: @cd ${DISTDIR}; \ - file=${PKGNAME}.${CVS_DATE_}.tar.gz; \ + file=${DIRNAME}.${CVS_DATE_}.tar.gz; \ if [ -e $$file ]; then \ exit; \ fi; \ @@ -120,7 +121,7 @@ fetchsrctarball: do-extract: @${MKDIR} ${WRKDIR} - @${CP} -r ${DISTDIR}/${PKGNAME}/${DISTNAME} ${WRKDIR} + @${CP} -r ${DISTDIR}/${DIRNAME}/${DISTNAME} ${WRKDIR} pre-configure: @${CP} ${PKGDIR}/PLIST ${PLIST} |