summaryrefslogtreecommitdiff
path: root/www/grail
diff options
context:
space:
mode:
authortsarna <tsarna>1998-08-24 00:12:49 +0000
committertsarna <tsarna>1998-08-24 00:12:49 +0000
commit4bf3bef868165007ba4552002e5d8565401136b9 (patch)
treec8618d03289eb664f981760650ac3feeb33531e8 /www/grail
parent655330bbb1539b309fdd1741c3d40e2d73b6a8b6 (diff)
downloadpkgsrc-4bf3bef868165007ba4552002e5d8565401136b9.tar.gz
Extract to work dir then install from there, to allow for patches
Diffstat (limited to 'www/grail')
-rw-r--r--www/grail/Makefile11
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})