# $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"