Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2012 04:51:59 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305567 - in head/chinese/auto-tw-l10n: . files
Message-ID:  <201210090451.q994pxaV035189@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Tue Oct  9 04:51:58 2012
New Revision: 305567
URL: http://svn.freebsd.org/changeset/ports/305567

Log:
  - Remove dependency on fastest_cvsup (deprecate cvsup for the ports tree)
  - Adopt new Makefile header

Added:
  head/chinese/auto-tw-l10n/files/patch-make.conf.in   (contents, props changed)
Deleted:
  head/chinese/auto-tw-l10n/files/pkg-install.in
Modified:
  head/chinese/auto-tw-l10n/Makefile

Modified: head/chinese/auto-tw-l10n/Makefile
==============================================================================
--- head/chinese/auto-tw-l10n/Makefile	Tue Oct  9 02:11:46 2012	(r305566)
+++ head/chinese/auto-tw-l10n/Makefile	Tue Oct  9 04:51:58 2012	(r305567)
@@ -1,35 +1,24 @@
-# New ports collection makefile for:	zh-auto-tw-l10n
-# Date created:		7 Oct 2000
-# Whom:			"Michael C . Wu" <keichii@iteration.net>
-#
+# Created by: Michael C . Wu <keichii@iteration.net>
 # $FreeBSD$
-#
 
 PORTNAME=	auto-tw-l10n
 PORTVERSION=	1.13
+PORTREVISION=	1
 CATEGORIES=	chinese
 MASTER_SITES=	LOCAL/sunpoet
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	The automatic localization for Traditional Chinese zh_TW.UTF-8 locale
-
-RUN_DEPENDS=	${FASTEST_CVSUP}:${PORTSDIR}/sysutils/fastest_cvsup
+COMMENT=	Automatic localization for Traditional Chinese locale
 
 NO_BUILD=	yes
 USE_XZ=		yes
 
-PKGINSTALL=	${WRKDIR}/pkg-install
 PKGMESSAGE=	${WRKDIR}/pkg-message
-SUB_FILES=	pkg-install pkg-message
-SUB_LIST=	PREFIX=${PREFIX} ZONE=${ZONE} SOURCE_DIR=${WRKSRC} \
-		WRKDIR=${WRKDIR} FASTEST_CVSUP=${FASTEST_CVSUP}
-
-FASTEST_CVSUP?=	${LOCALBASE}/bin/fastest_cvsup
-ZONE?=		tw
+SUB_FILES=	pkg-message
 
 pre-install:
-	@${SH} ${PKGINSTALL}
-	@${FIND} ${WRKSRC} -name "*.in" -delete
+	@${FIND} ${WRKSRC} -name "*.orig" -delete
+	@${MV} ${WRKSRC}/make.conf.in ${WRKSRC}/make.conf
 
 do-install:
 	${MKDIR} ${PREFIX}/share/skel/zh_TW.UTF-8/

Added: head/chinese/auto-tw-l10n/files/patch-make.conf.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/chinese/auto-tw-l10n/files/patch-make.conf.in	Tue Oct  9 04:51:58 2012	(r305567)
@@ -0,0 +1,24 @@
+--- make.conf.in.orig	2012-10-09 12:22:09.000000000 +0800
++++ make.conf.in	2012-10-09 12:24:57.000000000 +0800
+@@ -30,21 +30,6 @@
+ #     CPUTYPE?=itanium2
+ 
+ #
+-# SUPHOST 代表要到哪台 CVSup Server,請改成離你比較近(快)的 Server。
+-#
+-SUPHOST=        %%SERVER1%%
+-SUP_UPDATE=     yes
+-SUP=            `which csup`
+-SUPFLAGS=       -L 2
+-
+-#
+-# 假設你是用 -STABLE,也就是 stable-supfile 
+-#
+-SUPFILE=	/usr/share/examples/cvsup/stable-supfile
+-PORTSSUPFILE=	/usr/share/examples/cvsup/ports-supfile
+-DOCSUPFILE=	/usr/share/examples/cvsup/doc-supfile
+-
+-#
+ # 設定國內的 distfiles mirror sites
+ MASTER_SITE_BACKUP?=	\
+ 	http://%%SERVER1%%/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210090451.q994pxaV035189>