aboutsummaryrefslogtreecommitdiff
path: root/textproc/diffutils
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-01-11 20:04:40 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-01-11 20:04:40 +0000
commit66fbcad125edec6120de2c09a553001e73b94e36 (patch)
treea705650cec91ecae10b4d5146ec336a065c28333 /textproc/diffutils
parent01e44353cc06bf5766b8c91aaf86e74c6a2f43c1 (diff)
downloadports-66fbcad125edec6120de2c09a553001e73b94e36.tar.gz
ports-66fbcad125edec6120de2c09a553001e73b94e36.zip
Enable stage support + minor cleanups
Notes
Notes: svn path=/head/; revision=339448
Diffstat (limited to 'textproc/diffutils')
-rw-r--r--textproc/diffutils/Makefile22
-rw-r--r--textproc/diffutils/pkg-plist4
2 files changed, 11 insertions, 15 deletions
diff --git a/textproc/diffutils/Makefile b/textproc/diffutils/Makefile
index 3d501ce19c7c..450002421e9c 100644
--- a/textproc/diffutils/Makefile
+++ b/textproc/diffutils/Makefile
@@ -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@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>
diff --git a/textproc/diffutils/pkg-plist b/textproc/diffutils/pkg-plist
index 831f44bfda30..43688c4112b6 100644
--- a/textproc/diffutils/pkg-plist
+++ b/textproc/diffutils/pkg-plist
@@ -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