aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ptex
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-04-12 22:38:12 +0800
committerknu <knu@FreeBSD.org>2000-04-12 22:38:12 +0800
commitbbefe911602a99ae8eef0107c5a54a1238569918 (patch)
treee6a784c6fcf9fb5518d628b989fe84202164cacf /japanese/ptex
parentdf90bfb709b014707e299439696404a9c2b543f8 (diff)
downloadfreebsd-ports-gnome-bbefe911602a99ae8eef0107c5a54a1238569918.tar.gz
freebsd-ports-gnome-bbefe911602a99ae8eef0107c5a54a1238569918.tar.zst
freebsd-ports-gnome-bbefe911602a99ae8eef0107c5a54a1238569918.zip
Update the japanese/[o-t]* ports with the new
PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Diffstat (limited to 'japanese/ptex')
-rw-r--r--japanese/ptex/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/japanese/ptex/Makefile b/japanese/ptex/Makefile
index 93c1908feb51..3e71018ccf61 100644
--- a/japanese/ptex/Makefile
+++ b/japanese/ptex/Makefile
@@ -1,16 +1,18 @@
# New ports collection makefile for: pTeX-euc
-# Version required: 2.1.8
# Date created: 05 Oct 1997
# Whom: max
#
# $FreeBSD$
#
-DISTNAME= ptex218
-PKGNAME= ja-ptex-euc-2.1.8
+PORTNAME= ptex
+PORTVERSION= 2.1.8
+PKGNAMESUFFIX= -euc
CATEGORIES= japanese print
-MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} plib-1.4-euc.tar.gz \
+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
@@ -43,7 +45,7 @@ pre-patch:
${PATCH} ${PATCH_DIST_ARGS}
pre-install:
- @${TAR} -C ${PREFIX}/share -zxf ${DISTDIR}/${DIST_SUBDIR}/plib-1.4-euc.tar.gz
+ @${TAR} -C ${PREFIX}/share -zxf ${DISTDIR}/${DIST_SUBDIR}/plib-1.4${PKGNAMESUFFIX}.tar.gz
post-install:
.for bin in ${BINARIES}