diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-12 02:14:13 +0000 |
commit | ba171a91fab519f587b027c1a2888cb6e3fce049 (patch) | |
tree | c12b9c282e2706cb6bac87456615dfdf2b256e55 /textproc/py-X | |
parent | 3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff) | |
download | pkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'textproc/py-X')
-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" |