diff options
Diffstat (limited to 'textproc/py-X/Makefile')
-rw-r--r-- | textproc/py-X/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/textproc/py-X/Makefile b/textproc/py-X/Makefile index 358e87154b6..b248c7c5ebd 100644 --- a/textproc/py-X/Makefile +++ b/textproc/py-X/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/04/25 20:39:12 joerg Exp $ +# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:52 joerg Exp $ # DISTNAME= PyX-0.9 @@ -7,6 +7,8 @@ PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyx/} +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin PYBINMODULE= yes @@ -25,12 +27,13 @@ SUBST_MESSAGE.conf= Fixing configuration files. SUBST_FILES.conf= setup.py SUBST_SED.conf+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" +INSTALLATION_DIRS= share/examples/PyX + pre-install: ${CP} ${WRKSRC}/pyxrc ${WRKSRC}/pyxrc.default - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/PyX post-install: - ${CP} ${WRKSRC}/pyxrc.default ${PREFIX}/share/examples/PyX/pyxrc + ${CP} ${WRKSRC}/pyxrc ${DESTDIR}${PREFIX}/share/examples/PyX/pyxrc .include "../../lang/python/extension.mk" .include "../../lang/python/application.mk" |