blob: 0af23fb654378a0141337576b0cf324ec67ef2df (
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
|
# $NetBSD: Makefile,v 1.18 2005/09/28 20:52:25 rillig Exp $
DISTNAME= dvipdfm-0.13.2c
PKGREVISION= 4
CATEGORIES= print converters
MASTER_SITES= ftp://ftp.kettering.edu/pub/outgoing/mwicks/dvipdfm/
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://gaspra.kettering.edu/dvipdfm
COMMENT= DVI to PDF translator
CONFLICTS+= dvipdfmx-[0-9]*
CONFLICTS+= ja-dvipdfm-[0-9]*
CONFLICTS+= teTeX-bin>=2.0 # Part of teTeX>=2.0
WRKSRC= ${WRKDIR}/dvipdfm
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${PREFIX}/share
# needed to get the stdarg.h version of kpathsea/c-varargs.h instead of the
# varargs.h version which gcc3 does not like
CPPFLAGS+= -DHAVE_PROTOTYPES
.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/buildlink3.mk"
.include "../../print/teTeX1-bin/kpathsea.buildlink3.mk"
.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
|