aboutsummaryrefslogtreecommitdiff
path: root/print/tex-xdvik
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-08-22 11:04:23 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-08-22 11:04:23 +0000
commit6e0c41ef7548b706b1e2ccded776f37ff081be25 (patch)
tree4e5655e52b6737cbd19a56d45857fbe796c396bb /print/tex-xdvik
parent5088b48f952d171e7a11855986fbaab7b129d755 (diff)
downloadports-6e0c41ef7548b706b1e2ccded776f37ff081be25.tar.gz
ports-6e0c41ef7548b706b1e2ccded776f37ff081be25.zip
Notes
Diffstat (limited to 'print/tex-xdvik')
-rw-r--r--print/tex-xdvik/Makefile13
-rw-r--r--print/tex-xdvik/distinfo4
-rw-r--r--print/tex-xdvik/files/patch-texk-xdvik-Makefile.in6
-rw-r--r--print/tex-xdvik/pkg-plist12
4 files changed, 19 insertions, 16 deletions
diff --git a/print/tex-xdvik/Makefile b/print/tex-xdvik/Makefile
index a11551f80d94..7ea8b31ee7fb 100644
--- a/print/tex-xdvik/Makefile
+++ b/print/tex-xdvik/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xdvik
-PORTVERSION= 22.86
-PORTREVISION= 2
+PORTVERSION= 22.87
CATEGORIES= print
MASTER_SITES= SF/xdvi/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= tex-
@@ -16,8 +15,8 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
libpaper.so:${PORTSDIR}/print/libpaper
USES= iconv gmake motif
-USE_TEX= texlive web2c kpathsea texmf texhash
-TEXHASHDIRS= ${TEXMFDIR}
+USE_TEX= web2c kpathsea texmf texhash
+TEXHASHDIRS= ${TEXMFDISTDIR}
USE_XORG= ice sm x11 xmu xpm xt
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/xdvik
GNU_CONFIGURE= yes
@@ -39,7 +38,7 @@ CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
CFLAGS+= -I${LOCALBASE}/include -DHAVE_LIBPAPER -g -O0
-PLIST_SUB= TEXMFDIR=${TEXMFDIR} TEXMFCONFIGDIR=${TEXMFDIR}-config
+PLIST_SUB= TEXMFDISTDIR=${TEXMFDISTDIR}
CONFLICTS_INSTALL= xdvi-[0-9]* xdvi-*-[0-9]* *-xdvi-[0-9]* \
xdvik-[0-9]* ja-xdvik-*-[0-9]*
@@ -49,9 +48,13 @@ PORTDOCS= BUGS CHANGES INSTALL README README.CVS README.coding \
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/${DISTNAME} && \
${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/print/tex-xdvik/distinfo b/print/tex-xdvik/distinfo
index 6f969eba6fcd..5289c77b770e 100644
--- a/print/tex-xdvik/distinfo
+++ b/print/tex-xdvik/distinfo
@@ -1,2 +1,2 @@
-SHA256 (TeX/xdvik-22.86.tar.gz) = a3dffb8d878e6039ebc168d3bd82d194912dac53177673f818d0baac2dc27203
-SIZE (TeX/xdvik-22.86.tar.gz) = 4412419
+SHA256 (TeX/xdvik-22.87.tar.gz) = 920a20928b4360a1ab83843cffb98c129a54c6462ee014d0e5c4b209b8840ea7
+SIZE (TeX/xdvik-22.87.tar.gz) = 4600576
diff --git a/print/tex-xdvik/files/patch-texk-xdvik-Makefile.in b/print/tex-xdvik/files/patch-texk-xdvik-Makefile.in
index eaef792ef40b..ef80f7370263 100644
--- a/print/tex-xdvik/files/patch-texk-xdvik-Makefile.in
+++ b/print/tex-xdvik/files/patch-texk-xdvik-Makefile.in
@@ -15,11 +15,11 @@
nodist_man1_MANS = xdvi.1
-xdvidir = $(datarootdir)/texmf-dist/xdvi
-dvipsconfdir = $(datarootdir)/texmf-dist/dvips/config
-+xdvidir = $(datarootdir)/texmf/xdvi
-+dvipsconfdir = $(datarootdir)/texmf/xdvi
++xdvidir = $(datarootdir)/texmf-dist/xdvi
++dvipsconfdir = $(datarootdir)/texmf-dist/xdvi
dist_xdvi_DATA = texmf/XDvi
-pixmapdir = $(datarootdir)/texmf-dist/xdvi/pixmap
-+pixmapdir = $(datarootdir)/texmf/xdvi/pixmaps
++pixmapdir = $(datarootdir)/texmf-dist/xdvi/pixmaps
dist_pixmap_DATA = pixmaps/toolbar.xpm pixmaps/toolbar2.xpm
dist_noinst_DATA = texmf/config.xdvi
all: c-auto.h
diff --git a/print/tex-xdvik/pkg-plist b/print/tex-xdvik/pkg-plist
index 6006376cc30a..11a0006808db 100644
--- a/print/tex-xdvik/pkg-plist
+++ b/print/tex-xdvik/pkg-plist
@@ -1,9 +1,9 @@
bin/xdvi
bin/xdvi-motif
man/man1/xdvi.1.gz
-%%TEXMFDIR%%/xdvi/XDvi
-%%TEXMFDIR%%/xdvi/config.xdvi
-%%TEXMFDIR%%/xdvi/pixmaps/toolbar.xpm
-%%TEXMFDIR%%/xdvi/pixmaps/toolbar2.xpm
-@dirrm %%TEXMFDIR%%/xdvi/pixmaps
-@dirrm %%TEXMFDIR%%/xdvi
+%%TEXMFDISTDIR%%/xdvi/XDvi
+%%TEXMFDISTDIR%%/xdvi/config.xdvi
+%%TEXMFDISTDIR%%/xdvi/pixmaps/toolbar.xpm
+%%TEXMFDISTDIR%%/xdvi/pixmaps/toolbar2.xpm
+@dirrm %%TEXMFDISTDIR%%/xdvi/pixmaps
+@dirrm %%TEXMFDISTDIR%%/xdvi