1997-10-04 17:20:32 +00:00
|
|
|
# New ports collection makefile for: pTeX-euc
|
|
|
|
# Date created: 05 Oct 1997
|
|
|
|
# Whom: max
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-10-04 17:20:32 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 14:38:12 +00:00
|
|
|
PORTNAME= ptex
|
|
|
|
PORTVERSION= 2.1.8
|
|
|
|
PKGNAMESUFFIX= -euc
|
1997-10-04 17:20:32 +00:00
|
|
|
CATEGORIES= japanese print
|
2000-04-12 14:38:12 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/${DISTNAME}/
|
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
plib-1.4${PKGNAMESUFFIX}.tar.gz \
|
1998-06-24 01:15:00 +00:00
|
|
|
Makefile.in.patch.txt
|
1997-10-04 17:20:32 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1997-10-04 17:20:32 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common
|
|
|
|
|
1997-11-22 01:38:55 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
|
1997-10-04 17:20:32 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
1998-06-24 01:15:00 +00:00
|
|
|
DIST_SUBDIR= ptex
|
1997-10-04 17:20:32 +00:00
|
|
|
CONFIGURE_ARGS= euc
|
1998-10-09 01:41:15 +00:00
|
|
|
WRKSRC= ${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/web2c-7.2/web2c/${DISTNAME}
|
1997-10-04 17:20:32 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
ALL_TARGET= default
|
|
|
|
|
|
|
|
BINARIES= iniptex jbibtex pdvitype pltotf ptex tftopl virptex
|
|
|
|
|
|
|
|
pre-extract:
|
1998-12-02 05:57:06 +00:00
|
|
|
.if !exists(${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/.build_done)
|
1997-10-04 17:20:32 +00:00
|
|
|
@(cd ${.CURDIR}/../ptex-common; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE})
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${RM} -rf ${WRKSRC}
|
1998-12-02 05:57:06 +00:00
|
|
|
@${MV} ${WRKDIR}/${DISTNAME} ${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/web2c-7.2/web2c
|
1998-06-24 01:15:00 +00:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@/usr/bin/uudecode -p ${DISTDIR}/${DIST_SUBDIR}/Makefile.in.patch.txt | \
|
|
|
|
${PATCH} ${PATCH_DIST_ARGS}
|
1997-10-04 17:20:32 +00:00
|
|
|
|
|
|
|
pre-install:
|
2000-04-12 14:38:12 +00:00
|
|
|
@${TAR} -C ${PREFIX}/share -zxf ${DISTDIR}/${DIST_SUBDIR}/plib-1.4${PKGNAMESUFFIX}.tar.gz
|
1997-10-04 17:20:32 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for bin in ${BINARIES}
|
|
|
|
@strip ${PREFIX}/bin/${bin}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
pre-clean:
|
|
|
|
@${RM} -rf ${WRKSRC}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|