blob: 64ae2390dfa44500354032bcdcfcf4cc53b3e562 (
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
36
37
38
|
# $NetBSD: Makefile,v 1.9 2001/02/17 17:22:04 wiz Exp $
#
DISTNAME= grail-06
PKGNAME= grail-0.6
CATEGORIES= www
MASTER_SITES= ftp://ftp.python.org/pub/grail/
EXTRACT_SUFX= .tgz
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://grail.sourceforge.net/
COMMENT= Grail(TM) is a web browser written in Python
DEPENDS+= py-Tk-2.0*:../../x11/py-Tk
BROKEN= "Awaiting new release with Python 2.0 fixes"
USE_X11= yes
NO_CONFIGURE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/grail-0.6
GRAILDIR= share/misc/grail-0.6
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/python2.0/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"
|