1997-10-04 17:13:41 +00:00
|
|
|
# New ports collection makefile for: pTeX-common
|
|
|
|
# Version required: 2.1.5
|
|
|
|
# Date created: 05 Oct 1997
|
|
|
|
# Whom: max
|
1995-11-15 10:16:10 +00:00
|
|
|
#
|
1997-12-04 03:48:19 +00:00
|
|
|
# $Id: Makefile,v 1.22 1997/10/05 08:32:25 max Exp $
|
1995-11-15 10:16:10 +00:00
|
|
|
#
|
|
|
|
|
1997-10-04 17:13:41 +00:00
|
|
|
DISTNAME= web2c-7.0
|
|
|
|
PKGNAME= ja-ptex-common-2.1.5
|
1996-11-11 08:11:50 +00:00
|
|
|
CATEGORIES= japanese print
|
1997-10-04 17:58:47 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex215/web2c/
|
1997-10-04 17:13:41 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} web-7.0.tar.gz texmflib-7.2.tar.gz
|
1995-11-15 10:16:10 +00:00
|
|
|
|
1996-09-17 15:07:58 +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-*
|
1997-10-04 17:13:41 +00:00
|
|
|
USE_GMAKE= yes
|
1996-08-22 00:57:24 +00:00
|
|
|
STRIP= # some shell scripts
|
1997-10-04 17:13:41 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} web-7.0.tar.gz
|
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 \
|
|
|
|
inimf inimpost initex kpsewhich mf mft mltex mpost \
|
|
|
|
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}" \
|
|
|
|
./configure --prefix=${PREFIX})
|
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
|
1997-10-04 17:13:41 +00:00
|
|
|
@${EXTRACT_CMD} --exclude 'texmf/tex/latex/base/*' -C ${PREFIX}/share \
|
|
|
|
-zxf ${DISTDIR}/texmflib-7.2.tar.gz
|
|
|
|
@${RMDIR} ${PREFIX}/share/texmf/tex/generic/images ${PREFIX}/share/texmf/bibtex/bib/misc
|
|
|
|
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
|
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
|
|
fi
|
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
|
1997-10-05 08:32:25 +00:00
|
|
|
@/bin/ln -fs tex ${PREFIX}/bin/ptex-common
|
1995-11-15 10:16:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|