aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-07-02 22:38:23 +0800
committerbapt <bapt@FreeBSD.org>2014-07-02 22:38:23 +0800
commitcc0324f81901b5de8086922270fbaf049e0042e1 (patch)
tree7d05ab9d73a45f24c892998fb70772763686c2e4
parent54be83de043ff4e53e093e114b0318da4eb18ed9 (diff)
downloadfreebsd-ports-gnome-cc0324f81901b5de8086922270fbaf049e0042e1.tar.gz
freebsd-ports-gnome-cc0324f81901b5de8086922270fbaf049e0042e1.tar.zst
freebsd-ports-gnome-cc0324f81901b5de8086922270fbaf049e0042e1.zip
Support stage
-rw-r--r--print/dvipsk-tetex/Makefile15
-rw-r--r--print/dvipsk-tetex/pkg-plist4
2 files changed, 8 insertions, 11 deletions
diff --git a/print/dvipsk-tetex/Makefile b/print/dvipsk-tetex/Makefile
index 33eeb4ac9ce5..9f06ced7c637 100644
--- a/print/dvipsk-tetex/Makefile
+++ b/print/dvipsk-tetex/Makefile
@@ -2,7 +2,7 @@
PORTNAME= dvipsk-tetex
PORTVERSION= 5.95a
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1
@@ -13,10 +13,11 @@ DIST_SUBDIR= teTeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= Convert a TeX DVI file to PostScript
-LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
- wwwcore.1:${PORTSDIR}/www/libwww \
- t1.5:${PORTSDIR}/devel/t1lib
+LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
+ libwwwcore.so:${PORTSDIR}/www/libwww \
+ libt1.so:${PORTSDIR}/devel/t1lib
+USES= desthack
USE_TEX= base texmf
PLIST_SUB= TEXMFDIR=${TEXMFDIR} \
TEXMFDISTDIR=${TEXMFDISTDIR} \
@@ -49,8 +50,6 @@ CONFLICTS= *-teTeX-[0-9]* \
tex-kpathsea-[0-9]* tex-xdvik-[0-9]* \
tex-dvipsk-[0-9]* tex-dvipdfmx-[0-9]*
-MAN1= dvips.1 afm2tfm.1
-MLINKS= dvips.1 odvips.1
INFO= dvips
.if defined(WITH_LETTERSIZE)
@@ -89,13 +88,9 @@ PKGINSTALL_SUB= PAPERSIZE=${PAPERSIZE} \
# dvipsk is not compatible with -funroll-loops on 5.x
CFLAGS:= ${CFLAGS:N-funroll-loops}
-NO_STAGE= yes
pre-build:
${SED} ${PKGINSTALL_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
< ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
${CHMOD} 0755 ${PKGINSTALL}
-post-install:
- @${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
.include <bsd.port.mk>
diff --git a/print/dvipsk-tetex/pkg-plist b/print/dvipsk-tetex/pkg-plist
index 0bef116501ea..e34341425a5f 100644
--- a/print/dvipsk-tetex/pkg-plist
+++ b/print/dvipsk-tetex/pkg-plist
@@ -1,6 +1,9 @@
bin/afm2tfm
bin/dvips
bin/odvips
+man/man1/afm2tfm.1.gz
+man/man1/dvips.1.gz
+man/man1/odvips.1.gz
%%TEXMFDIR%%/dvips/base/color.pro
%%TEXMFDIR%%/dvips/base/crop.pro
%%TEXMFDIR%%/dvips/base/finclude.pro
@@ -9,4 +12,3 @@ bin/odvips
%%TEXMFDIR%%/dvips/base/tex.pro
%%TEXMFDIR%%/dvips/base/texc.pro
%%TEXMFDIR%%/dvips/base/texps.pro
-%%TEXMFCONFIGDIR%%/dvips/config/config.ps