ports/156388: [MAINTAINER] sysutils/duff: Update to 0.5
Jason E. Hale
bsdkaffee at gmail.com
Thu Apr 14 05:10:02 UTC 2011
>Number: 156388
>Category: ports
>Synopsis: [MAINTAINER] sysutils/duff: Update to 0.5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 14 05:10:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jason E. Hale
>Release: FreeBSD 8.2-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD mocha.verizon.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Feb 22 19:19:42 EST 2011 root at mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA8 i386
>Description:
- Update sysutils/duff to 0.5
- Add NLS support
- Use pkg-plist since there are more files now
>How-To-Repeat:
Use attached diff.
>Fix:
--- 2011-04-14-duff.diff begins here ---
diff -ruN duff.orig/Makefile duff/Makefile
--- duff.orig/Makefile 2011-04-13 09:58:54.000000000 -0400
+++ duff/Makefile 2011-04-13 11:01:54.000000000 -0400
@@ -6,7 +6,7 @@
#
PORTNAME= duff
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -17,12 +17,21 @@
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
+CPPFLAGS= -I${LOCALBASE}/include
+CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib
+
MAN1= duff.1
-PLIST_FILES= bin/duff \
- share/duff/join-duplicates.sh
-PLIST_DIRS= share/duff
-post-patch:
- ${CHMOD} +x ${WRKSRC}/install-sh
+OPTIONS= NLS "Native Language Support" on
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
.include <bsd.port.mk>
diff -ruN duff.orig/distinfo duff/distinfo
--- duff.orig/distinfo 2011-04-13 09:58:54.000000000 -0400
+++ duff/distinfo 2011-04-13 09:59:57.000000000 -0400
@@ -1,2 +1,2 @@
-SHA256 (duff-0.4.tar.bz2) = 3d23e92b7467e4006a536d49b053b1c6ebc8cb3aff584c86d8561855841f4ac4
-SIZE (duff-0.4.tar.bz2) = 76582
+SHA256 (duff-0.5.tar.bz2) = 9e30f84d3d02bdaceb2a901db538906e66c227f80e3651b08bfad8c0f452ee5d
+SIZE (duff-0.5.tar.bz2) = 168991
diff -ruN duff.orig/pkg-plist duff/pkg-plist
--- duff.orig/pkg-plist 1969-12-31 19:00:00.000000000 -0500
+++ duff/pkg-plist 2011-04-13 10:59:09.000000000 -0400
@@ -0,0 +1,13 @@
+bin/duff
+share/doc/duff/README.SHA
+share/duff/join-duplicates.sh
+%%NLS%%share/locale/en/LC_MESSAGES/duff.mo
+%%NLS%%share/locale/en at boldquot/LC_MESSAGES/duff.mo
+%%NLS%%share/locale/en at quot/LC_MESSAGES/duff.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/duff.mo
+%%NLS%%@dirrmtry share/locale/en at quot/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/en at quot
+%%NLS%%@dirrmtry share/locale/en at boldquot/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/en at boldquot
+ at dirrm share/duff
+ at dirrm share/doc/duff
--- 2011-04-14-duff.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list