1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/ptex-sjis/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: pTeX-sjis
1998-06-24 01:15:00 +00:00
# Version required: 2.1.8
# Date created: 05 Oct 1997
# Whom: max
#
1998-12-02 05:57:06 +00:00
# $Id: Makefile,v 1.6 1998/10/09 01:41:14 asami Exp $
#
1998-06-24 01:15:00 +00:00
DISTNAME= ptex218
PKGNAME= ja-ptex-sjis-2.1.8
CATEGORIES= japanese print
1998-06-24 01:15:00 +00:00
MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} plib-1.4-sj.tar.gz \
Makefile.in.patch.txt
MAINTAINER= max@FreeBSD.ORG
RUN_DEPENDS= ptex-common:${PORTSDIR}/japanese/ptex-common
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
USE_GMAKE= yes
GNU_CONFIGURE= yes
1998-06-24 01:15:00 +00:00
DIST_SUBDIR= ptex
CONFIGURE_ARGS= sjis
WRKSRC= ${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/web2c-7.2/web2c/${DISTNAME}
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)
@(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}
pre-install:
1998-06-24 01:15:00 +00:00
@${EXTRACT_CMD} -C ${PREFIX}/share -zxf ${DISTDIR}/${DIST_SUBDIR}/plib-1.4-sj.tar.gz
post-install:
.for bin in ${BINARIES}
@strip ${PREFIX}/bin/${bin}
.endfor
pre-clean:
@${RM} -rf ${WRKSRC}
.include <bsd.port.mk>