pkgsrc/textproc/py-X/Makefile

40 lines
996 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2009/03/05 18:51:32 joerg Exp $
#
DISTNAME= PyX-0.9
PKGNAME= ${PYPKGPREFIX}-X-0.9
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyx/}
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX3-bin
PYDISTUTILSPKG= yes
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://pyx.sourceforge.net/
COMMENT= Package for the creation of PostScript and PDF files
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"
2008-06-12 04:14:13 +02:00
INSTALLATION_DIRS= share/examples/PyX
pre-install:
${CP} ${WRKSRC}/pyxrc ${WRKSRC}/pyxrc.default
post-install:
2008-06-12 04:14:13 +02:00
${CP} ${WRKSRC}/pyxrc ${DESTDIR}${PREFIX}/share/examples/PyX/pyxrc
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"