blob: 0ae80128713307565a3e82c53e28b01378adbc34 (
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
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.14 2012/10/25 06:56:48 asau Exp $
#
DISTNAME= PyX-0.9
PKGNAME= ${PYPKGPREFIX}-X-0.9
PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyx/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pyx.sourceforge.net/
COMMENT= Package for the creation of PostScript and PDF files
LICENSE= gnu-gpl-v2 # or later
DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea
DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
DEPENDS+= tex-tex-[0-9]*:../../print/tex-tex
USE_LANGUAGES= #none
CONF_FILES= ${PREFIX}/share/examples/PyX/pyxrc \
${PKG_SYSCONFDIR}/pyxrc
SUBST_CLASSES+= conf
SUBST_STAGE.conf= post-patch
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
PYTHON_SELF_CONFLICT= yes
pre-install:
${CP} ${WRKSRC}/pyxrc ${WRKSRC}/pyxrc.default
post-install:
${CP} ${WRKSRC}/pyxrc ${DESTDIR}${PREFIX}/share/examples/PyX/pyxrc
.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|