blob: e7189d2f7f1eb460c5bea614838c86d97c42b838 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: pTeX-jis
# Date created: 05 Oct 1997
# Whom: max
#
# $FreeBSD$
#
PORTNAME= ptex
PORTVERSION= 2.1.8
PKGNAMESUFFIX= -jis
CATEGORIES= japanese print
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 \
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
DIST_SUBDIR= ptex
CONFIGURE_ARGS= jis
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:
.if !exists(${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/.build_done)
@(cd ${.CURDIR}/../ptex-common; \
${SETENV} ${MAKE_ENV} ${MAKE})
.endif
post-extract:
@${RM} -rf ${WRKSRC}
@${MV} ${WRKDIR}/${DISTNAME} ${WRKDIRPREFIX}${.CURDIR}/../ptex-common/work/web2c-7.2/web2c
pre-patch:
@/usr/bin/uudecode -p ${DISTDIR}/${DIST_SUBDIR}/Makefile.in.patch.txt | \
${PATCH} ${PATCH_DIST_ARGS}
pre-install:
@${TAR} -C ${PREFIX}/share -zxf ${DISTDIR}/${DIST_SUBDIR}/plib-1.4${PKGNAMESUFFIX}.tar.gz
post-install:
.for bin in ${BINARIES}
@strip ${PREFIX}/bin/${bin}
.endfor
pre-clean:
@${RM} -rf ${WRKSRC}
.include <bsd.port.mk>
|