summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortonio <tonio>2005-11-09 00:05:28 +0000
committertonio <tonio>2005-11-09 00:05:28 +0000
commitb1c8e219d4410baeadf80571f707a3024eace184 (patch)
treecfb2eacfcbc0109b019d9a09657cdf0d46f7bd9d
parent8fd5ba88300252ea6c3c88bc939cc942eb6663f3 (diff)
downloadpkgsrc-b1c8e219d4410baeadf80571f707a3024eace184.tar.gz
convert to use tex.buidlink3.mk
installs files in PKG_LOCALTEXMFPREFIX
-rw-r--r--print/dvipdfm/Makefile6
-rw-r--r--print/dvipdfm/PLIST26
-rw-r--r--print/dvipdfm/distinfo3
-rw-r--r--print/dvipdfm/patches/patch-ab13
4 files changed, 32 insertions, 16 deletions
diff --git a/print/dvipdfm/Makefile b/print/dvipdfm/Makefile
index 0af23fb6543..28c7bda1210 100644
--- a/print/dvipdfm/Makefile
+++ b/print/dvipdfm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2005/09/28 20:52:25 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2005/11/09 00:05:28 tonio Exp $
DISTNAME= dvipdfm-0.13.2c
PKGREVISION= 4
@@ -12,6 +12,7 @@ COMMENT= DVI to PDF translator
CONFLICTS+= dvipdfmx-[0-9]*
CONFLICTS+= ja-dvipdfm-[0-9]*
CONFLICTS+= teTeX-bin>=2.0 # Part of teTeX>=2.0
+LATEX_ACCEPTED= teTeX1
WRKSRC= ${WRKDIR}/dvipdfm
GNU_CONFIGURE= yes
@@ -19,6 +20,7 @@ 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
+CONFIGURE_ENV+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX}
.include "../../mk/bsd.prefs.mk"
@@ -33,6 +35,6 @@ post-install:
mktexlsr
.include "../../graphics/png/buildlink3.mk"
-.include "../../print/teTeX1-bin/kpathsea.buildlink3.mk"
+.include "../../mk/tex.buildlink3.mk"
.include "../../mk/ghostscript.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/print/dvipdfm/PLIST b/print/dvipdfm/PLIST
index 330df1455c7..81f65e6fd47 100644
--- a/print/dvipdfm/PLIST
+++ b/print/dvipdfm/PLIST
@@ -1,19 +1,19 @@
-@comment $NetBSD: PLIST,v 1.2 2004/12/31 19:00:33 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2005/11/09 00:05:28 tonio Exp $
bin/dvipdfm
bin/dvipdft
bin/ebb
man/man1/dvipdfm.1
-share/texmf/dvipdfm/base/ot1.enc
-share/texmf/dvipdfm/base/ot1alt.enc
-share/texmf/dvipdfm/base/ot1r.enc
-share/texmf/dvipdfm/config/cmr.map
-share/texmf/dvipdfm/config/config
-share/texmf/dvipdfm/config/lw35urw.map
-share/texmf/dvipdfm/config/lw35urwa.map
-share/texmf/dvipdfm/config/psbase14.map
-share/texmf/dvipdfm/config/t1fonts.map
-@dirrm share/texmf/dvipdfm/config
-@dirrm share/texmf/dvipdfm/base
-@dirrm share/texmf/dvipdfm
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/base/ot1.enc
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/base/ot1alt.enc
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/base/ot1r.enc
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/config/cmr.map
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/config/config
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/config/lw35urw.map
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/config/lw35urwa.map
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/config/psbase14.map
+${PKG_LOCALTEXMFPREFIX}/dvipdfm/config/t1fonts.map
+@dirrm ${PKG_LOCALTEXMFPREFIX}/dvipdfm/config
+@dirrm ${PKG_LOCALTEXMFPREFIX}/dvipdfm/base
+@dirrm ${PKG_LOCALTEXMFPREFIX}/dvipdfm
@exec %D/bin/mktexlsr
@unexec %D/bin/mktexlsr
diff --git a/print/dvipdfm/distinfo b/print/dvipdfm/distinfo
index 41a0ab9545c..371d13a0565 100644
--- a/print/dvipdfm/distinfo
+++ b/print/dvipdfm/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:51:42 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/11/09 00:05:28 tonio Exp $
SHA1 (dvipdfm-0.13.2c.tar.gz) = db6a45179e60c865dae18d5c6ec084ac64cb4088
RMD160 (dvipdfm-0.13.2c.tar.gz) = 722fe72e527a0c832c1de58cf8ccc3667e5bcfd9
Size (dvipdfm-0.13.2c.tar.gz) = 216661 bytes
SHA1 (patch-aa) = f28e08543df3be82aad225cdc1fada86978210bc
+SHA1 (patch-ab) = ac93e70a9b68cee797807475b1eb29f3ff7382a7
diff --git a/print/dvipdfm/patches/patch-ab b/print/dvipdfm/patches/patch-ab
new file mode 100644
index 00000000000..abe196c3ffa
--- /dev/null
+++ b/print/dvipdfm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/11/09 00:05:28 tonio Exp $
+
+--- configure.orig Tue Nov 8 23:46:52 2005
++++ configure Tue Nov 8 23:47:45 2005
+@@ -1102,7 +1102,7 @@
+ fi
+
+
+-TEXMF='${datadir}/texmf'
++TEXMF=${PKG_LOCALTEXMFPREFIX}
+
+
+ _cppflags=$CPPFLAGS