2013-05-09 22:01:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-05-09 22:03:43 +02:00
|
|
|
PORTNAME= dvipsk
|
|
|
|
PORTVERSION= 5.992
|
2014-06-20 13:15:57 +02:00
|
|
|
PORTREVISION= 2
|
2013-05-09 22:01:19 +02:00
|
|
|
CATEGORIES= print
|
2013-05-09 22:03:43 +02:00
|
|
|
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2012/
|
|
|
|
PKGNAMEPREFIX= tex-
|
|
|
|
DISTNAME= texlive-${DISTVERSION_TEXMF}-source
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${DISTNAME_TEXMF}${EXTRACT_SUFX}
|
|
|
|
DIST_SUBDIR= TeX
|
|
|
|
EXTRACT_ONLY= texlive-${DISTVERSION_TEXMF}-source${EXTRACT_SUFX}
|
2013-05-09 22:01:19 +02:00
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
|
|
COMMENT= Convert a TeX DVI file to PostScript
|
|
|
|
|
2013-05-09 22:03:43 +02:00
|
|
|
LICENSE= GPLv2
|
2013-05-09 22:01:19 +02:00
|
|
|
|
2014-06-20 13:15:57 +02:00
|
|
|
LIB_DEPENDS= libpaper.so:${PORTSDIR}/print/libpaper
|
2013-05-09 22:01:19 +02:00
|
|
|
|
2014-05-26 15:55:51 +02:00
|
|
|
USES= gmake tar:xz
|
2013-05-19 00:54:31 +02:00
|
|
|
USE_TEX= texlive kpathsea web2c texmf texhash
|
2013-05-09 22:03:43 +02:00
|
|
|
TEXHASHDIRS= ${TEXMFDISTDIR} ${TEXMFDIR}
|
|
|
|
EXTRACT_AFTER_ARGS= ${EXTRACT_FILES:S,^,${DISTNAME}/,}
|
|
|
|
EXTRACT_FILES= \
|
|
|
|
m4 \
|
|
|
|
build-aux \
|
|
|
|
texk/am \
|
|
|
|
texk/dvipsk \
|
2013-05-22 10:26:53 +02:00
|
|
|
texk/lcdf-typetools \
|
2013-05-09 22:03:43 +02:00
|
|
|
texk/kpathsea
|
|
|
|
EXTRACT_AFTER_ARGS_TEXMF= \
|
|
|
|
| ${TAR} -xf - -C ${PREFIX}/share \
|
|
|
|
--strip-components 1 --no-same-permission --no-same-owner \
|
|
|
|
${EXTRACT_FILES_TEXMF:S,^,${DISTNAME_TEXMF}/,}
|
|
|
|
DISTVERSION_TEXMF= 20120701
|
|
|
|
DISTNAME_TEXMF= texlive-${DISTVERSION_TEXMF}-texmf
|
|
|
|
EXTRACT_FILES_TEXMF= \
|
|
|
|
texmf-dist/fonts/map/dvips/ \
|
|
|
|
texmf-dist/fonts/enc/dvips/ \
|
|
|
|
texmf-dist/dvips/ \
|
|
|
|
texmf-dist/tex/generic/dvips/ \
|
|
|
|
texmf/fonts/map/dvips/ \
|
|
|
|
texmf/fonts/enc/dvips/ \
|
|
|
|
texmf/doc/dvips/ \
|
|
|
|
texmf/dvips/
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/texk/dvipsk
|
2013-05-09 22:01:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-05-09 22:03:43 +02:00
|
|
|
CONFIGURE_ARGS= --with-paper \
|
|
|
|
--with-system-kpathsea \
|
|
|
|
--with-kpathsea-includes=${LOCALBASE}/include \
|
|
|
|
--with-kpathsea-libdir=${LOCALBASE}/lib \
|
|
|
|
--with-system-libpng \
|
|
|
|
--with-system-zlib
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -lpaper -L${LOCALBASE}/lib
|
2013-05-09 22:01:19 +02:00
|
|
|
|
2013-05-09 22:03:43 +02:00
|
|
|
NO_MANCOMPRESS= yes
|
|
|
|
MAN1= afm2tfm.1 dvips.1
|
|
|
|
INFO= dvips
|
2013-05-09 22:01:19 +02:00
|
|
|
|
2013-09-21 00:43:59 +02:00
|
|
|
NO_STAGE= yes
|
2013-05-09 22:03:43 +02:00
|
|
|
pre-su-install:
|
|
|
|
${CAT} ${DISTDIR}/${DIST_SUBDIR}/texlive-${DISTVERSION_TEXMF}-texmf${EXTRACT_SUFX} \
|
|
|
|
${EXTRACT_AFTER_ARGS_TEXMF}
|
2013-05-22 10:26:53 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/texlive-${DISTVERSION_TEXMF}-source/texk/lcdf-typetools/7t.enc ${PREFIX}/${TEXMFDISTDIR}/fonts/enc/dvips/base/7t.enc
|
2013-05-09 22:01:19 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|