| @@ -1,42 +1,41 @@ | | | @@ -1,42 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.9 2011/01/23 03:00:04 minskim Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2012/02/06 11:04:46 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= PyX-0.9 | | 4 | DISTNAME= PyX-0.9 |
5 | PKGNAME= ${PYPKGPREFIX}-X-0.9 | | 5 | PKGNAME= ${PYPKGPREFIX}-X-0.9 |
6 | PKGREVISION= 2 | | 6 | PKGREVISION= 3 |
7 | CATEGORIES= textproc | | 7 | CATEGORIES= textproc |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyx/} | | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyx/} |
9 | | | 9 | |
10 | PKG_DESTDIR_SUPPORT= user-destdir | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
| | | 11 | HOMEPAGE= http://pyx.sourceforge.net/ |
| | | 12 | COMMENT= Package for the creation of PostScript and PDF files |
| | | 13 | LICENSE= gnu-gpl-v2 # or later |
11 | | | 14 | |
12 | DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea | | 15 | DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea |
13 | DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk | | 16 | DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk |
14 | DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin | | 17 | DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin |
15 | DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex | | 18 | DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex |
16 | | | 19 | |
17 | PYDISTUTILSPKG= yes | | 20 | PKG_DESTDIR_SUPPORT= user-destdir |
18 | | | | |
19 | MAINTAINER= pkgsrc-users@NetBSD.org | | | |
20 | HOMEPAGE= http://pyx.sourceforge.net/ | | | |
21 | COMMENT= Package for the creation of PostScript and PDF files | | | |
22 | | | 21 | |
23 | CONF_FILES= ${PREFIX}/share/examples/PyX/pyxrc \ | | 22 | CONF_FILES= ${PREFIX}/share/examples/PyX/pyxrc \ |
24 | ${PKG_SYSCONFDIR}/pyxrc | | 23 | ${PKG_SYSCONFDIR}/pyxrc |
25 | | | 24 | |
26 | SUBST_CLASSES+= conf | | 25 | SUBST_CLASSES+= conf |
27 | SUBST_STAGE.conf= post-patch | | 26 | SUBST_STAGE.conf= post-patch |
28 | SUBST_MESSAGE.conf= Fixing configuration files. | | 27 | SUBST_MESSAGE.conf= Fixing configuration files. |
29 | SUBST_FILES.conf= setup.py | | 28 | SUBST_FILES.conf= setup.py |
30 | SUBST_SED.conf+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" | | 29 | SUBST_SED.conf+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" |
31 | | | 30 | |
32 | INSTALLATION_DIRS= share/examples/PyX | | 31 | INSTALLATION_DIRS= share/examples/PyX |
33 | | | 32 | |
34 | pre-install: | | 33 | pre-install: |
35 | ${CP} ${WRKSRC}/pyxrc ${WRKSRC}/pyxrc.default | | 34 | ${CP} ${WRKSRC}/pyxrc ${WRKSRC}/pyxrc.default |
36 | | | 35 | |
37 | post-install: | | 36 | post-install: |
38 | ${CP} ${WRKSRC}/pyxrc ${DESTDIR}${PREFIX}/share/examples/PyX/pyxrc | | 37 | ${CP} ${WRKSRC}/pyxrc ${DESTDIR}${PREFIX}/share/examples/PyX/pyxrc |
39 | | | 38 | |
40 | .include "../../lang/python/extension.mk" | | 39 | .include "../../lang/python/distutils.mk" |
41 | .include "../../lang/python/application.mk" | | 40 | .include "../../lang/python/application.mk" |
42 | .include "../../mk/bsd.pkg.mk" | | 41 | .include "../../mk/bsd.pkg.mk" |