2004-04-25 23:23:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2004/04/25 21:28:30 snj Exp $
|
2002-09-16 03:48:19 +02:00
|
|
|
|
|
|
|
DISTNAME= dvipdfm-0.13.2c
|
2003-12-24 14:02:55 +01:00
|
|
|
PKGNAME= ja-${DISTNAME}
|
2004-03-26 03:27:34 +01:00
|
|
|
PKGREVISION= 2
|
2002-09-16 03:48:19 +02:00
|
|
|
CATEGORIES= print converters
|
|
|
|
MASTER_SITES= ftp://ftp.kettering.edu/pub/outgoing/mwicks/dvipdfm/
|
|
|
|
|
|
|
|
PATCH_SITES= http://www.nn.iij4u.or.jp/%7Etutimura/hirata/distfiles/
|
2003-12-24 14:02:55 +01:00
|
|
|
PATCHFILES= dvipdfm-0.13.2c-jpatch-p1d.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
2002-09-16 03:48:19 +02:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
2002-09-16 03:48:19 +02:00
|
|
|
HOMEPAGE= http://gaspra.kettering.edu/dvipdfm
|
|
|
|
COMMENT= DVI to PDF translator with Japanese patch
|
|
|
|
|
2003-02-24 16:30:54 +01:00
|
|
|
CONFLICTS+= dvipdfm-[0-9]*
|
|
|
|
CONFLICTS+= dvipdfmx-[0-9]*
|
2003-12-24 14:02:00 +01:00
|
|
|
CONFLICTS+= teTeX-bin>=2.0
|
2002-09-16 03:48:19 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/dvipdfm
|
2004-04-25 23:23:34 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2002-09-16 03:48:19 +02:00
|
|
|
GNU_CONFIGURE= # defined
|
|
|
|
CONFIGURE_ARGS+=--datadir=${PREFIX}/share
|
|
|
|
|
|
|
|
.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:
|
|
|
|
${PREFIX}/bin/mktexlsr
|
|
|
|
|
2004-04-25 23:23:34 +02:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../print/teTeX1-bin/kpathsea.buildlink3.mk"
|
2002-09-16 03:48:19 +02:00
|
|
|
.include "../../mk/ghostscript.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|