aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tcsh-nls-generic
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/tcsh-nls-generic
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/tcsh-nls-generic')
-rw-r--r--japanese/tcsh-nls-generic/Makefile27
1 files changed, 16 insertions, 11 deletions
diff --git a/japanese/tcsh-nls-generic/Makefile b/japanese/tcsh-nls-generic/Makefile
index 4d3fd3475e01..07ef0a3e6618 100644
--- a/japanese/tcsh-nls-generic/Makefile
+++ b/japanese/tcsh-nls-generic/Makefile
@@ -1,28 +1,33 @@
# New ports collection makefile for: ja-tcsh NLS catalog (Generic Japanese)
-# Version required: 6.08.05
# Date created: 19 August 1998
# Whom: Issei Suzuki <issei@jp.FreeBSD.org>
#
# $FreeBSD$
#
-.if !defined(NLSSRC)
-DISTNAME= tcsh-6.08.05
-PKGNAME= ja-tcsh-nls-generic-6.08.05
+PORTNAME= tcsh-nls
+PORTVERSION= 6.08.05
+PKGNAMESUFFIX= -${CATALOGNAME}
CATEGORIES= japanese shells
-MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/ ${MASTER_SITE_PORTS_JP}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.add2${EXTRACT_SUFX}
+MASTER_SITES= ${MASTER_SITE_PORTS_JP}
+DISTNAME= tcsh-${PORTVERSION}.add2
MAINTAINER= issei@jp.FreeBSD.org
-PATCH_DIST_STRIP= -p1
-NLSSRC= ${DISTNAME}/nls/ja
-.endif
-
BUILD_DEPENDS= nkf:${PORTSDIR}/japanese/nkf
RUN_DEPENDS= tcsh:${PORTSDIR}/japanese/tcsh
-WRKSRC= ${WRKDIR}/tcsh-6.08.05.add2
+CATALOGNAME?= generic
+
+.if ${CATALOGNAME} == generic
+MASTER_SITES+= ftp://ftp.astron.com/pub/tcsh/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ tcsh-${PORTVERSION}${EXTRACT_SUFX}
+
+NLSSRC= tcsh-${PORTVERSION}/nls/ja
+.else
+NLSSRC= ${DISTNAME}/nls/ja.${CATALOGNAME}
+.endif
NLSDIR= ${PREFIX}/share/nls
GENCAT= /usr/bin/gencat