Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2008 03:00:15 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124845: Update port: devel/fhist to 1.17
Message-ID:  <20080622030015.08120cf7.tkato432@yahoo.com>
Resent-Message-ID: <200806211810.m5LIA3JI009650@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124845
>Category:       ports
>Synopsis:       Update port: devel/fhist to 1.17
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 18:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.3-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.17

Remove file:
files/patch-aa
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/fhist/Makefile devel/fhist/Makefile
--- /usr/ports/devel/fhist/Makefile	2008-04-11 00:26:52.000000000 +0900
+++ devel/fhist/Makefile	2008-06-22 02:45:31.000000000 +0900
@@ -6,31 +6,51 @@
 #
 
 PORTNAME=	fhist
-PORTVERSION=	1.16
+PORTVERSION=	1.17
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Utilities to maintain file history, do file comparisions and merges
 
-.include <bsd.port.pre.mk>
+OPTIONS=	NLS "Use Native Language Support" on
+
+USE_GNOME=	gnometarget
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+ALL_TARGET=	binaries po
 
 MAN1=		fcomp.1 fhist.1 fmerge.1
-ALL_TARGET=	binaries
-INSTALL_TARGET=	install-bin
+PLIST_FILES=	bin/fcomp bin/fhist bin/fmerge
 
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS= --includedir=${PREFIX}/include
+CFLAGS+=	-I${LOCALBASE}/include
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=	ac_cv_lib_intl_main=no
+.else
+USE_GETTEXT=	yes
+PLIST_FILES+=	share/locale/en/LC_MESSAGES/fcomp.mo \
+		share/locale/en/LC_MESSAGES/fhist.mo \
+		share/locale/en/LC_MESSAGES/fmerge.mo
+.endif
 
 post-extract:
 	cd ${WRKSRC}/lib/en/man1 && ${LN} -s ${WRKSRC}/etc/*.so .
 
-post-install:
+do-install:
 .for file in fhist fcomp fmerge
-	${STRIP_CMD} ${PREFIX}/bin/${file}
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${PREFIX}/bin/${file}
 	(cd ${WRKSRC}/lib/en/man1; soelim ${file}.1 > tmp; \
 	${INSTALL_MAN} tmp ${PREFIX}/man/man1/${file}.1)
+.if !defined(WITHOUT_NLS)
+	@${MKDIR} ${PREFIX}/share/locale/en/LC_MESSAGES
+	${INSTALL_DATA} ${WRKSRC}/lib/en/LC_MESSAGES/${file}.mo \
+		 ${PREFIX}/share/locale/en/LC_MESSAGES/${file}.mo
+.endif
 .endfor
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/devel/fhist/distinfo devel/fhist/distinfo
--- /usr/ports/devel/fhist/distinfo	2006-01-07 13:44:46.000000000 +0900
+++ devel/fhist/distinfo	2008-06-21 04:44:49.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (fhist-1.16.tar.gz) = b9ab632eace455b440e83910f62fea62
-SHA256 (fhist-1.16.tar.gz) = 57c8056fa347d5b9a545253ed0b10d5e8429cd829a9dac9bd8709a43fd523413
-SIZE (fhist-1.16.tar.gz) = 273203
+MD5 (fhist-1.17.tar.gz) = 4a28cd28cdecdba0ba28ae2c03e3eebf
+SHA256 (fhist-1.17.tar.gz) = e1e06a095913e9d9afc2deb89f646d96dd03d2d832669018f3cc519fffb98e1e
+SIZE (fhist-1.17.tar.gz) = 401116
diff -urN /usr/ports/devel/fhist/files/patch-aa devel/fhist/files/patch-aa
--- /usr/ports/devel/fhist/files/patch-aa	2000-01-05 20:00:02.000000000 +0900
+++ devel/fhist/files/patch-aa	1970-01-01 09:00:00.000000000 +0900
@@ -1,57 +0,0 @@
---- Makefile.in--	Wed Jan  5 21:12:04 2000
-+++ Makefile.in	Wed Jan  5 21:13:41 2000
-@@ -715,46 +715,46 @@
- 	$(INSTALL_DATA) lib/en/building.txt $@
- 
- $(datadir)/en/man1/fcomp.1: lib/en/man1/fcomp.1 lib/en/man1/.datadir
--	$(SOELIM) -Ilib/en/man1 -Ietc lib/en/man1/fcomp.1 > tmp
-+	$(SOELIM) lib/en/man1/fcomp.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
- 
- $(mandir)/man1/fcomp.1: lib/$(MANLANG)/man1/fcomp.1  lib/en/man1/.mandir
--	$(SOELIM) -Ilib/$(MANLANG)/man1 -Ietc lib/$(MANLANG)/man1/fcomp.1 > tmp
-+	$(SOELIM) lib/$(MANLANG)/man1/fcomp.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
- 
- $(datadir)/en/man1/fhist.1: lib/en/man1/fhist.1 lib/en/man1/.datadir
--	$(SOELIM) -Ilib/en/man1 -Ietc lib/en/man1/fhist.1 > tmp
-+	$(SOELIM) lib/en/man1/fhist.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
- 
- $(mandir)/man1/fhist.1: lib/$(MANLANG)/man1/fhist.1  lib/en/man1/.mandir
--	$(SOELIM) -Ilib/$(MANLANG)/man1 -Ietc lib/$(MANLANG)/man1/fhist.1 > tmp
-+	$(SOELIM) lib/$(MANLANG)/man1/fhist.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
- 
- $(datadir)/en/man1/fhist_lic.1: lib/en/man1/fhist_lic.1 \
- 		lib/en/man1/.datadir
--	$(SOELIM) -Ilib/en/man1 -Ietc lib/en/man1/fhist_lic.1 > tmp
-+	$(SOELIM) lib/en/man1/fhist_lic.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
- 
- $(mandir)/man1/fhist_lic.1: lib/$(MANLANG)/man1/fhist_lic.1 \
- 		lib/en/man1/.mandir
--	$(SOELIM) -Ilib/$(MANLANG)/man1 -Ietc \
-+	$(SOELIM) \
- 		lib/$(MANLANG)/man1/fhist_lic.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
- 
- $(datadir)/en/man1/fmerge.1: lib/en/man1/fmerge.1 lib/en/man1/.datadir
--	$(SOELIM) -Ilib/en/man1 -Ietc lib/en/man1/fmerge.1 > tmp
-+	$(SOELIM) lib/en/man1/fmerge.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
- 
- $(mandir)/man1/fmerge.1: lib/$(MANLANG)/man1/fmerge.1 \
- 		lib/en/man1/.mandir
--	$(SOELIM) -Ilib/$(MANLANG)/man1 -Ietc \
-+	$(SOELIM) \
- 		lib/$(MANLANG)/man1/fmerge.1 > tmp
- 	$(INSTALL_DATA) tmp $@
- 	@rm -f tmp
diff -urN /usr/ports/devel/fhist/pkg-plist devel/fhist/pkg-plist
--- /usr/ports/devel/fhist/pkg-plist	2000-01-01 09:20:17.000000000 +0900
+++ devel/fhist/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,3 +0,0 @@
-bin/fcomp
-bin/fhist
-bin/fmerge
>Release-Note:
>Audit-Trail:
>Unformatted:



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