mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
5114e2637e
bsd.port.mk rev. 1.304 for details on the change. The fix here is one of the following. (1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining EXTRACT_* commands. (2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously calling the "tar" command (i.e., arguments like "-xzf" are spelled out). (3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS}, add ${EXTRACT_AFTER_ARGS} to the command line as well. (4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS is set, define the other two too.
62 lines
2.1 KiB
Makefile
62 lines
2.1 KiB
Makefile
# New ports collection makefile for: pTeX-common
|
|
# Version required: 2.1.8
|
|
# Date created: 05 Oct 1997
|
|
# Whom: max
|
|
#
|
|
# $Id: Makefile,v 1.24 1998/06/24 01:14:27 max Exp $
|
|
#
|
|
|
|
DISTNAME= web2c-7.2
|
|
PKGNAME= ja-ptex-common-2.1.8
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/web2c/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} web-7.2.tar.gz texmflib-7.3.tar.gz
|
|
|
|
MAINTAINER= max@FreeBSD.ORG
|
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
|
|
USE_GMAKE= yes
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} web-7.2.tar.gz
|
|
DIST_SUBDIR= ptex
|
|
STRIP= # some shell scripts
|
|
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
|
|
|
|
BINARIES= bibtex dmp dvicopy dvitomp dvitype gftodvi gftopk gftype \
|
|
inimf inimpost initex kpsewhich mf mft mpost \
|
|
mpto newer patgen pktogf pktype pooltype tangle \
|
|
tex vftovp virmf virmpost virtex vptovf weave
|
|
|
|
# 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} --enable-shared)
|
|
|
|
pre-install:
|
|
.if defined(BATCH)
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL BATCH
|
|
.else
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
.endif
|
|
@${TAR} --exclude 'texmf/tex/latex/base/*' -C ${PREFIX}/share \
|
|
-zxf ${DISTDIR}/${DIST_SUBDIR}/texmflib-7.3.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
|
|
|
|
post-install:
|
|
@${LDCONFIG} -m ${PREFIX}/lib
|
|
.for bin in ${BINARIES}
|
|
@strip ${PREFIX}/bin/${bin}
|
|
.endfor
|
|
@/bin/ln -fs tex ${PREFIX}/bin/ptex-common
|
|
|
|
.include <bsd.port.mk>
|