aboutsummaryrefslogtreecommitdiff
path: root/japanese/platex-euc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/platex-euc/Makefile')
-rw-r--r--japanese/platex-euc/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/japanese/platex-euc/Makefile b/japanese/platex-euc/Makefile
index faa1abde2f92..e2d26ce01ea3 100644
--- a/japanese/platex-euc/Makefile
+++ b/japanese/platex-euc/Makefile
@@ -1,26 +1,27 @@
# New ports collection makefile for: platex2e-euc
-# Version required: <1999/08/09>
# Date created: 05 Oct 1997
# Whom: Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#
-DISTNAME= pl19990809e
-PKGNAME= ja-platex2e-euc-1999.08.09
+PORTNAME= platex2e
+PORTVERSION= 1999.08.09
+PKGNAMESUFFIX= -euc
CATEGORIES= japanese print
-MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/1999-08-09/
+MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/platex/${PORTVERSION:S/./-/g}/
+DISTNAME= pl${PORTVERSION:S/.//g}e
MAINTAINER= max@FreeBSD.org
-BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-euc \
+BUILD_DEPENDS= ptex:${PORTSDIR}/japanese/ptex${PKGNAMESUFFIX} \
platex-common:${PORTSDIR}/japanese/platex-common
-RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex-euc \
+RUN_DEPENDS= ptex:${PORTSDIR}/japanese/ptex${PKGNAMESUFFIX} \
platex-common:${PORTSDIR}/japanese/platex-common
MANUAL_PACKAGE_BUILD= incompatible with other versions of ptex-*
-WRKSRC= ${WRKDIR}/19990809
-DIST_SUBDIR= platex2e
+WRKSRC= ${WRKDIR}/${PORTVERSION:S/.//g}
+DIST_SUBDIR= ${PORTNAME}
TEXMF= ${PREFIX}/share/texmf