Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2013 21:57:28 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317159 - in head/japanese: nkf nkf/files p5-nkf
Message-ID:  <201305022157.r42LvS67044607@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Thu May  2 21:57:28 2013
New Revision: 317159
URL: http://svnweb.freebsd.org/changeset/ports/317159

Log:
  - Rename files/patch-aa.
  - Separate japanese/nkf and japanese/p5-nkf from each other.

Added:
  head/japanese/nkf/files/patch-Makefile
     - copied unchanged from r317144, head/japanese/nkf/files/patch-aa
  head/japanese/p5-nkf/distinfo   (contents, props changed)
Deleted:
  head/japanese/nkf/files/patch-aa
Modified:
  head/japanese/nkf/Makefile
  head/japanese/p5-nkf/Makefile

Modified: head/japanese/nkf/Makefile
==============================================================================
--- head/japanese/nkf/Makefile	Thu May  2 21:53:51 2013	(r317158)
+++ head/japanese/nkf/Makefile	Thu May  2 21:57:28 2013	(r317159)
@@ -5,21 +5,18 @@ PORTNAME=	nkf
 PORTVERSION=	2.1.2
 PORTEPOCH=	1
 CATEGORIES?=	japanese
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR=	${PORTNAME}/53171
-PKGNAMEPREFIX?=	ja-
+MASTER_SITES=	SFJP/${PORTNAME}/53171
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT?=	Network Kanji code conversion Filter
+MAINTAINER=	hrs@FreeBSD.org
+COMMENT=	Network Kanji code conversion Filter
 
-LICENSE?=	ZLIB
-LICENSE_FILE?=	${WRKSRC}/nkf.c
+LICENSE=	ZLIB
+LICENSE_FILE=	${WRKSRC}/nkf.c
+
+ALL_TARGET=	nkf
+PLIST_FILES=	bin/nkf
 
-.if ${PKGNAMEPREFIX} != "ja-p5-"
 MAN1=		nkf.1
 MANLANG=	"" ja
-PLIST_FILES=	bin/nkf
-ALL_TARGET=	nkf
-.endif
 
 .include <bsd.port.mk>

Copied: head/japanese/nkf/files/patch-Makefile (from r317144, head/japanese/nkf/files/patch-aa)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/nkf/files/patch-Makefile	Thu May  2 21:57:28 2013	(r317159, copy of r317144, head/japanese/nkf/files/patch-aa)
@@ -0,0 +1,53 @@
+--- Makefile.orig	2009-11-17 09:33:04.000000000 +0900
++++ Makefile	2010-02-15 23:02:44.471546444 +0900
+@@ -1,18 +1,22 @@
+-CC = cc
+-CFLAGS = -g -O2 -Wall -pedantic
++CC?= cc
++CFLAGS?= -g -O2 -Wall -pedantic
+ # CFLAGS = -O3
+ SHAR = shar 
+ # SHAR = shar -T
+-PERL = perl
+-RM = rm -rf
++PERL?= perl
++RM?= rm -rf
+ VERSION = 2.1.2
+ MKDIR = mkdir
+-prefix = /usr/local
++PREFIX?= /usr/local
++INSTALL?= /usr/bin/install
++BSD_INSTALL_PROGRAM?= ${INSTALL} -s -o root -g wheel -m 555
++BSD_INSTALL_MAN?= ${INSTALL}    -o root -g wheel -m 444
+ 
+ .PHONY: clean install test tar shar
+ 
+ nkf : nkf.o utf8tbl.o
+ 	$(CC) $(CFLAGS) -o nkf nkf.o utf8tbl.o
++	./nkf -e nkf.1j > nkf.1j.euc
+ 
+ nkf.o : nkf.c nkf.h utf8tbl.h config.h
+ 	$(CC) $(CFLAGS) -c nkf.c
+@@ -34,14 +38,14 @@
+ 	make test )
+ 
+ install:
+-	-$(MKDIR) $(prefix)/bin
+-	-$(MKDIR) $(prefix)/man
+-	-$(MKDIR) $(prefix)/man/man1
+-	-$(MKDIR) $(prefix)/man/ja
+-	-$(MKDIR) $(prefix)/man/ja/man1
+-	cp -f nkf $(prefix)/bin/
+-	cp -f nkf.1 $(prefix)/man/man1/
+-	cp -f nkf.1j $(prefix)/man/ja/man1/nkf.1
++	-$(MKDIR) -p $(PREFIX)/bin
++	-$(MKDIR) -p $(PREFIX)/man
++	-$(MKDIR) -p $(PREFIX)/man/man1
++	-$(MKDIR) -p $(PREFIX)/man/ja
++	-$(MKDIR) -p $(PREFIX)/man/ja/man1
++	${BSD_INSTALL_PROGRAM} nkf ${PREFIX}/bin/
++	${BSD_INSTALL_MAN} nkf.1 ${PREFIX}/man/man1/
++	${BSD_INSTALL_MAN} nkf.1j.euc ${PREFIX}/man/ja/man1/nkf.1
+ 
+ shar:
+ 	-mkdir nkf-$(VERSION)

Modified: head/japanese/p5-nkf/Makefile
==============================================================================
--- head/japanese/p5-nkf/Makefile	Thu May  2 21:53:51 2013	(r317158)
+++ head/japanese/p5-nkf/Makefile	Thu May  2 21:57:28 2013	(r317159)
@@ -1,9 +1,14 @@
 # Created by: max
 # $FreeBSD$
 
+PORTNAME=	nkf
+PORTVERSION=	2.1.2
+PORTEPOCH=	1
 CATEGORIES=	japanese perl5
+MASTER_SITES=	SFJP/${PORTNAME}/53171
 PKGNAMEPREFIX=	ja-p5-
 
+MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	A perl extension module to use NKF
 
 LICENSE=	ZLIB NKF
@@ -13,13 +18,9 @@ LICENSE_FILE_ZLIB=	${WRKSRC}/NKF.pm
 LICENSE_FILE_NKF=	${WRKSRC}/NKF.xs
 LICENSE_PERMS_NKF=	${_LICENSE_PERMS_DEFAULT}
 
-DESCR=		${.CURDIR}/pkg-descr
-PLIST=		${.CURDIR}/pkg-plist
 PERL_CONFIGURE=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/NKF.mod
-PATCHDIR=	${.CURDIR}/files
-MAN3=		NKF.3
 
-MASTERDIR=	${.CURDIR}/../nkf
+MAN3=		NKF.3
 
-.include "${MASTERDIR}/Makefile"
+.include <bsd.port.mk>

Added: head/japanese/p5-nkf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/japanese/p5-nkf/distinfo	Thu May  2 21:57:28 2013	(r317159)
@@ -0,0 +1,2 @@
+SHA256 (nkf-2.1.2.tar.gz) = 034e8b676160fa7cfaf023ad130ce2d7a7309e917c8f41b308e9dc2f6218a0a6
+SIZE (nkf-2.1.2.tar.gz) = 158127



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