diff options
author | markd <markd@pkgsrc.org> | 2002-05-08 11:54:02 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2002-05-08 11:54:02 +0000 |
commit | 171ec917b0405edb51dd85578774c150c38f0704 (patch) | |
tree | 398bc7bb14377223e3a19de3cb078d4d5ca711d1 /print/dvipdfm/Makefile | |
parent | a763c90bcc50675644ded7a0e37d4a4d86a24f6f (diff) | |
download | pkgsrc-171ec917b0405edb51dd85578774c150c38f0704.tar.gz |
Initial import of dvipdfm-0.13.2c, a DVI to PDF translator
Diffstat (limited to 'print/dvipdfm/Makefile')
-rw-r--r-- | print/dvipdfm/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/print/dvipdfm/Makefile b/print/dvipdfm/Makefile new file mode 100644 index 00000000000..f3f8c57f031 --- /dev/null +++ b/print/dvipdfm/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/05/08 11:54:02 markd Exp $ + +DISTNAME= dvipdfm-0.13.2c +CATEGORIES= print converters +MASTER_SITES= ftp://ftp.kettering.edu/pub/outgoing/mwicks/dvipdfm/ + +MAINTAINER= markd@netbsd.org +HOMEPAGE= http://gaspra.kettering.edu/dvipdfm +COMMENT= a DVI to PDF translator + +DEPENDS+= teTeX-bin>=1.0.6:../../print/teTeX-bin +DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript + +WRKSRC= ${WRKDIR}/dvipdfm +GNU_CONFIGURE= # defined +CONFIGURE_ARGS+= --datadir=${PREFIX}/share +CPPFLAGS= -I${LOCALBASE}/include + +.include "../../mk/bsd.prefs.mk" + +.if defined(PAPERSIZE) +post-patch: + ${MV} ${WRKSRC}/config ${WRKSRC}/config.in + PAPER=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'`; \ + ${SED} -e "s/^p letter/p $$PAPER/" ${WRKSRC}/config.in > ${WRKSRC}/config +.endif + +post-install: + mktexlsr + +.include "../../graphics/png/buildlink.mk" +.include "../../mk/bsd.pkg.mk" |