svn commit: r339448 - head/textproc/diffutils
Johan van Selst
johans at FreeBSD.org
Sat Jan 11 20:04:41 UTC 2014
Author: johans
Date: Sat Jan 11 20:04:40 2014
New Revision: 339448
URL: http://svnweb.freebsd.org/changeset/ports/339448
Log:
Enable stage support + minor cleanups
Modified:
head/textproc/diffutils/Makefile
head/textproc/diffutils/pkg-plist
Modified: head/textproc/diffutils/Makefile
==============================================================================
--- head/textproc/diffutils/Makefile Sat Jan 11 20:03:46 2014 (r339447)
+++ head/textproc/diffutils/Makefile Sat Jan 11 20:04:40 2014 (r339448)
@@ -4,35 +4,27 @@
PORTNAME= diffutils
PORTVERSION= 3.3
CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= diffutils
+MASTER_SITES= GNU
MAINTAINER= johans at FreeBSD.org
COMMENT= The GNU diff utilities
-LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv
+LIB_DEPENDS= libsigsegv.so:${PORTSDIR}/devel/libsigsegv
USES= charsetfix
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE=nls
+
INFO= diffutils
-MAN1= gcmp.1 gdiff.1 gdiff3.1 gsdiff.1
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^mkdir/s:@mkdir_p@:${MKDIR}:' \
${WRKSRC}/po/Makefile.in.in
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
.include <bsd.port.mk>
Modified: head/textproc/diffutils/pkg-plist
==============================================================================
--- head/textproc/diffutils/pkg-plist Sat Jan 11 20:03:46 2014 (r339447)
+++ head/textproc/diffutils/pkg-plist Sat Jan 11 20:04:40 2014 (r339448)
@@ -2,6 +2,10 @@ bin/gcmp
bin/gdiff
bin/gdiff3
bin/gsdiff
+man/man1/gcmp.1.gz
+man/man1/gdiff.1.gz
+man/man1/gdiff3.1.gz
+man/man1/gsdiff.1.gz
%%NLS%%share/locale/ca/LC_MESSAGES/diffutils.mo
%%NLS%%share/locale/cs/LC_MESSAGES/diffutils.mo
%%NLS%%share/locale/da/LC_MESSAGES/diffutils.mo
More information about the svn-ports-all
mailing list