From bbefe911602a99ae8eef0107c5a54a1238569918 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 12 Apr 2000 14:38:12 +0000 Subject: Update the japanese/[o-t]* ports with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables. --- japanese/tcsh-nls-generic/Makefile | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'japanese/tcsh-nls-generic') 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 # # $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 -- cgit