blob: 48e6ea727df30e50b0bfb0b86573960f2f4c648c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.3 1998/08/24 00:12:49 tsarna Exp $
#
DISTNAME= grail_04
PKGNAME= grail-0.4
CATEGORIES= www
MASTER_SITES= http://monty.cnri.reston.va.us/grail-0.4/source/
EXTRACT_SUFX= .tgz
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://grail.cnri.reston.va.us/grail/
DEPENDS+= python-1.5.1:../../lang/python
DEPENDS+= py-Tk-1.5.1:../../x11/py-Tk
NO_CONFIGURE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/grail-0.4
GRAILDIR= share/misc/grail-0.4
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
do-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
${SED} -e "s,@PREFIX@,${PREFIX}," -e "s,@GRAILDIR@,${GRAILDIR}," \
<${FILESDIR}/grail >${PREFIX}/bin/grail
chmod 555 ${PREFIX}/bin/grail
${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})
(cd ${PREFIX}; find -d ${GRAILDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
.include "../../mk/bsd.pkg.mk"
|