1997-10-04 17:13:41 +00:00
|
|
|
# New ports collection makefile for: pTeX-common
|
|
|
|
# Date created: 05 Oct 1997
|
|
|
|
# Whom: max
|
1995-11-15 10:16:10 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1995-11-15 10:16:10 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 14:38:12 +00:00
|
|
|
PORTNAME= ptex
|
|
|
|
PORTVERSION= 2.1.8
|
|
|
|
PKGNAMESUFFIX= -common
|
1996-11-11 08:11:50 +00:00
|
|
|
CATEGORIES= japanese print
|
1998-06-24 01:15:00 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/web2c/
|
2000-04-12 14:38:12 +00:00
|
|
|
DISTNAME= web2c-7.2
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
web-7.2.tar.gz \
|
|
|
|
texmflib-7.3.tar.gz
|
1995-11-15 10:16:10 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1995-11-15 10:16:10 +00:00
|
|
|
|
1997-12-04 03:48:19 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1997-10-04 17:13:41 +00:00
|
|
|
USE_GMAKE= yes
|
2000-04-12 14:38:12 +00:00
|
|
|
EXTRACT_ONLY= ${DISTFILES:Ntexmflib-*}
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
1996-08-22 00:57:24 +00:00
|
|
|
STRIP= # some shell scripts
|
1998-06-24 01:15:00 +00:00
|
|
|
MAN1= access.1 amstex.1 bibtex.1 dmp.1 dvicopy.1 dvitype.1 \
|
|
|
|
eplain.1 etex.1 gftodvi.1 gftopk.1 gftype.1 kpsestat.1 \
|
|
|
|
kpsewhich.1 latex.1 makempx.1 mf.1 mft.1 mktexlsr.1 \
|
|
|
|
mktexmf.1 mktexpk.1 mktextfm.1 mpost.1 mpto.1 newer.1 \
|
|
|
|
omega.1 patgen.1 pdftex.1 pktogf.1 pktype.1 pltotf.1 \
|
|
|
|
pooltype.1 readlink.1 tangle.1 tex.1 tftopl.1 tie.1 \
|
|
|
|
vftovp.1 vptovf.1 weave.1
|
1996-11-07 14:49:57 +00:00
|
|
|
|
1997-10-04 17:13:41 +00:00
|
|
|
BINARIES= bibtex dmp dvicopy dvitomp dvitype gftodvi gftopk gftype \
|
1998-06-24 01:15:00 +00:00
|
|
|
inimf inimpost initex kpsewhich mf mft mpost \
|
1997-10-04 17:13:41 +00:00
|
|
|
mpto newer patgen pktogf pktype pooltype tangle \
|
|
|
|
tex vftovp virmf virmpost virtex vptovf weave
|
1996-11-07 14:49:57 +00:00
|
|
|
|
1997-10-04 17:13:41 +00:00
|
|
|
# Using GNU_CONFIGURE doesn't work, for some reason.
|
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
ac_cv_path_install="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
|
1998-06-24 01:15:00 +00:00
|
|
|
./configure --prefix=${PREFIX} --enable-shared)
|
1995-11-15 10:16:10 +00:00
|
|
|
|
|
|
|
pre-install:
|
1997-10-04 17:13:41 +00:00
|
|
|
.if defined(BATCH)
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL BATCH
|
|
|
|
.else
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
1996-03-25 04:31:45 +00:00
|
|
|
.endif
|
1999-08-25 19:28:14 +00:00
|
|
|
@${TAR} --exclude 'texmf/tex/latex/base/*' --exclude 'texmf/dvips/*' \
|
|
|
|
-C ${PREFIX}/share -zxf ${DISTDIR}/${DIST_SUBDIR}/texmflib-7.3.tar.gz
|
1998-06-24 01:15:00 +00:00
|
|
|
#@${RMDIR} ${PREFIX}/share/texmf/tex/generic/images ${PREFIX}/share/texmf/bibtex/bib/misc
|
1995-11-15 10:16:10 +00:00
|
|
|
|
|
|
|
post-install:
|
1996-08-22 00:57:24 +00:00
|
|
|
.for bin in ${BINARIES}
|
1996-11-07 14:49:57 +00:00
|
|
|
@strip ${PREFIX}/bin/${bin}
|
1996-08-22 00:57:24 +00:00
|
|
|
.endfor
|
1999-08-28 01:58:05 +00:00
|
|
|
@${LN} -fs tex ${PREFIX}/bin/ptex-common
|
1995-11-15 10:16:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|