1997-10-04 17:17:10 +00:00
|
|
|
# New ports collection makefile for: pTeX-jis
|
|
|
|
# Date created: 05 Oct 1997
|
|
|
|
# Whom: max
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-10-04 17:17:10 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 14:38:12 +00:00
|
|
|
PORTNAME= ptex
|
2001-01-30 16:26:37 +00:00
|
|
|
PORTVERSION= 2.1.10
|
1997-10-04 17:17:10 +00:00
|
|
|
CATEGORIES= japanese print
|
2001-01-30 16:26:37 +00:00
|
|
|
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/tetex/
|
|
|
|
PKGNAMEPREFIX= ja-
|
|
|
|
PKGNAMESUFFIX= -jis
|
2001-02-11 12:23:45 +00:00
|
|
|
DISTNAME= ptex-src-2.1.10
|
2001-01-30 16:26:37 +00:00
|
|
|
DIST_SUBDIR= teTeX/ptex
|
1997-10-04 17:17:10 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= max@FreeBSD.org
|
1997-10-04 17:17:10 +00:00
|
|
|
|
2001-01-30 16:26:37 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/share/texmf/ptex/plain/base/ptex.tex:${PORTSDIR}/japanese/ptex-common
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/texmf/ptex/plain/base/ptex.tex:${PORTSDIR}/japanese/ptex-common
|
1997-10-04 17:17:10 +00:00
|
|
|
|
1997-11-22 01:38:55 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
|
1997-10-04 17:17:10 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= jis
|
2001-01-30 16:26:37 +00:00
|
|
|
WRKSRC= ${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/teTeX-1.0/texk/web2c/${SRCDIR}
|
1997-10-04 17:17:10 +00:00
|
|
|
ALL_TARGET= default
|
|
|
|
|
2001-02-11 12:23:45 +00:00
|
|
|
SRCDIR= ptex-src-2.1.10
|
2001-01-30 16:26:37 +00:00
|
|
|
BINARIES= ptex pdvitype jbibtex pltotf tftopl
|
1997-10-04 17:17:10 +00:00
|
|
|
|
|
|
|
pre-extract:
|
1998-12-02 05:57:06 +00:00
|
|
|
.if !exists(${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/.build_done)
|
1997-10-04 17:17:10 +00:00
|
|
|
@(cd ${.CURDIR}/../ptex-common; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE})
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${RM} -rf ${WRKSRC}
|
2001-01-30 16:26:37 +00:00
|
|
|
@${MV} ${WRKDIR}/${SRCDIR} ${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/teTeX-1.0/texk/web2c
|
1998-06-24 01:15:00 +00:00
|
|
|
|
1997-10-04 17:17:10 +00:00
|
|
|
pre-install:
|
2001-01-30 16:26:37 +00:00
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
1997-10-04 17:17:10 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for bin in ${BINARIES}
|
2001-01-30 16:26:37 +00:00
|
|
|
@/usr/bin/strip ${PREFIX}/bin/${bin}
|
1997-10-04 17:17:10 +00:00
|
|
|
.endfor
|
2001-01-30 16:26:37 +00:00
|
|
|
@${LN} -sf ptex ${PREFIX}/bin/platex
|
|
|
|
@${PREFIX}/bin/mktexlsr ${PREFIX}/share/texmf
|
1997-10-04 17:17:10 +00:00
|
|
|
|
|
|
|
pre-clean:
|
|
|
|
@${RM} -rf ${WRKSRC}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|