36 lines
1 KiB
Makefile
36 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.6 1999/04/26 19:25:07 garbled Exp $
|
|
#
|
|
|
|
DISTNAME= grail-06
|
|
PKGNAME= grail-0.6
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://monty.cnri.reston.va.us/grail/source/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= tsarna@netbsd.org
|
|
HOMEPAGE= http://grail.cnri.reston.va.us/grail/
|
|
|
|
DEPENDS+= python-1.5.2:../../lang/python
|
|
DEPENDS+= py-Tk-1.5.2:../../x11/py-Tk
|
|
|
|
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/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"
|