aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-09-09 20:24:58 +0800
committerjhale <jhale@FreeBSD.org>2014-09-09 20:24:58 +0800
commit0f15da5bb98525f3a024ad98e79a954195a560f3 (patch)
tree4d5e2fe49ceefd769ae01980f414a7a01beed5f9 /sysutils
parent6138e767cd13aeac712cc66c476da241d8d4669f (diff)
downloadfreebsd-ports-gnome-0f15da5bb98525f3a024ad98e79a954195a560f3.tar.gz
freebsd-ports-gnome-0f15da5bb98525f3a024ad98e79a954195a560f3.tar.zst
freebsd-ports-gnome-0f15da5bb98525f3a024ad98e79a954195a560f3.zip
- Update to 1.7
- Add LICENSE While here: - Simplify MASTER_SITES - Convert USE_BZIP2 -> USES=tar:bzip2 - Use options helpers - Drop unused MANLANG and fix NLS manpages in pkg-plist PR: 193477 Submitted by: Gasol Wu <gasol.wu@gmail.com> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/shmcat/Makefile23
-rw-r--r--sysutils/shmcat/distinfo4
-rw-r--r--sysutils/shmcat/pkg-plist10
3 files changed, 15 insertions, 22 deletions
diff --git a/sysutils/shmcat/Makefile b/sysutils/shmcat/Makefile
index 3b08afae9b65..47ce9c6d59f0 100644
--- a/sysutils/shmcat/Makefile
+++ b/sysutils/shmcat/Makefile
@@ -2,29 +2,22 @@
# $FreeBSD$
PORTNAME= shmcat
-PORTVERSION= 1.6
+PORTVERSION= 1.7
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF/${PORTNAME}
MAINTAINER= gasol.wu@gmail.com
COMMENT= Simple tool that dumps System V shared memory segments
-USE_BZIP2= yes
-USES= iconv
+LICENSE= GPLv2
+
+USES= tar:bzip2 iconv
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-MANLANG= "" de
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>
diff --git a/sysutils/shmcat/distinfo b/sysutils/shmcat/distinfo
index cf0ec896daae..ca677f88dfb8 100644
--- a/sysutils/shmcat/distinfo
+++ b/sysutils/shmcat/distinfo
@@ -1,2 +1,2 @@
-SHA256 (shmcat-1.6.tar.bz2) = e561fd03caed262b319f9a93556a5bda31e0f0704b5808a9eac8454f6013b9d8
-SIZE (shmcat-1.6.tar.bz2) = 306541
+SHA256 (shmcat-1.7.tar.bz2) = dfe113592425373ea3d67cad5e9e44cbc27e45c75af3b308240aee9530d169cc
+SIZE (shmcat-1.7.tar.bz2) = 309356
diff --git a/sysutils/shmcat/pkg-plist b/sysutils/shmcat/pkg-plist
index 17fdc6bdbe5c..195fa5e2525e 100644
--- a/sysutils/shmcat/pkg-plist
+++ b/sysutils/shmcat/pkg-plist
@@ -1,11 +1,11 @@
bin/ftok
bin/shmcat
+%%NLS%%man/de/man1/ftok.1.gz
+%%NLS%%man/de/man1/shmcat.1.gz
+man/man1/ftok.1.gz
+man/man1/shmcat.1.gz
%%NLS%%share/locale/de/LC_MESSAGES/shmcat.mo
%%NLS%%share/locale/en@boldquot/LC_MESSAGES/shmcat.mo
%%NLS%%share/locale/en@quot/LC_MESSAGES/shmcat.mo
-%%NLS%%@dirrmtry man/de
%%NLS%%@dirrmtry man/de/man1
-man/de/man1/ftok.1.gz
-man/de/man1/shmcat.1.gz
-man/man1/ftok.1.gz
-man/man1/shmcat.1.gz
+%%NLS%%@dirrmtry man/de