diff options
author | tsarna <tsarna@pkgsrc.org> | 1998-08-24 00:12:49 +0000 |
---|---|---|
committer | tsarna <tsarna@pkgsrc.org> | 1998-08-24 00:12:49 +0000 |
commit | 4e074951f60b56091d22c20d00e89ff581dc565f (patch) | |
tree | c8618d03289eb664f981760650ac3feeb33531e8 /www | |
parent | 03641eac25f40b06fe59d3197b8b9e5bc4415004 (diff) | |
download | pkgsrc-4e074951f60b56091d22c20d00e89ff581dc565f.tar.gz |
Extract to work dir then install from there, to allow for patches
Diffstat (limited to 'www')
-rw-r--r-- | www/grail/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/www/grail/Makefile b/www/grail/Makefile index 292f014e0cb..48e6ea727df 100644 --- a/www/grail/Makefile +++ b/www/grail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 1998/08/20 15:17:30 tsarna Exp $ +# $NetBSD: Makefile,v 1.3 1998/08/24 00:12:49 tsarna Exp $ # DISTNAME= grail_04 @@ -13,13 +13,11 @@ HOMEPAGE= http://grail.cnri.reston.va.us/grail/ DEPENDS+= python-1.5.1:../../lang/python DEPENDS+= py-Tk-1.5.1:../../x11/py-Tk -EXTRACT_ONLY= NO_CONFIGURE= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/grail-0.4 -GRAILBASE= share/misc -GRAILDIR= ${GRAILBASE}/grail-0.4 +GRAILDIR= share/misc/grail-0.4 PLIST_SRC= ${WRKDIR}/.PLIST_SRC do-install: @@ -27,10 +25,7 @@ do-install: ${SED} -e "s,@PREFIX@,${PREFIX}," -e "s,@GRAILDIR@,${GRAILDIR}," \ <${FILESDIR}/grail >${PREFIX}/bin/grail chmod 555 ${PREFIX}/bin/grail - (cd ${PREFIX}/${GRAILBASE}; \ - ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \ - ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ - ${EXTRACT_AFTER_ARGS}) + ${CP} -R ${WRKSRC} ${PREFIX}/${GRAILDIR} ${PREFIX}/bin/python \ ${PREFIX}/lib/python1.5/compileall.py ${PREFIX}/${GRAILDIR} (cd ${PREFIX}; find ${GRAILDIR} -type f -print >>${PLIST_SRC}) |