summaryrefslogtreecommitdiff
path: root/japanese/ptex-sjis
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-04-12 14:38:12 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-04-12 14:38:12 +0000
commit8e270816f992e4a25aaab762d962f7267d72f84b (patch)
treed4e36e838185404904fc906c77ad6ebbaf6ef1bc /japanese/ptex-sjis
parentUse ${DISTFILES:Npattern} in EXTRACT_ONLY as a cosmetic change. (diff)
Update the japanese/[o-t]* ports with the new
PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Notes
Notes: svn path=/head/; revision=27463
Diffstat (limited to 'japanese/ptex-sjis')
-rw-r--r--japanese/ptex-sjis/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/japanese/ptex-sjis/Makefile b/japanese/ptex-sjis/Makefile
index 69f3cf8a57c0..d7d3643cb568 100644
--- a/japanese/ptex-sjis/Makefile
+++ b/japanese/ptex-sjis/Makefile
@@ -1,16 +1,18 @@
# New ports collection makefile for: pTeX-sjis
-# Version required: 2.1.8
# Date created: 05 Oct 1997
# Whom: max
#
# $FreeBSD$
#
-DISTNAME= ptex218
-PKGNAME= ja-ptex-sjis-2.1.8
+PORTNAME= ptex
+PORTVERSION= 2.1.8
+PKGNAMESUFFIX= -sjis
CATEGORIES= japanese print
-MASTER_SITES= ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/ptex218/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} plib-1.4-sj.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:S/sjis/sj/}.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-sj.tar.gz
+ @${TAR} -C ${PREFIX}/share -zxf ${DISTDIR}/${DIST_SUBDIR}/plib-1.4${PKGNAMESUFFIX:S/sjis/sj/}.tar.gz
post-install:
.for bin in ${BINARIES}