From 0f15da5bb98525f3a024ad98e79a954195a560f3 Mon Sep 17 00:00:00 2001 From: jhale Date: Tue, 9 Sep 2014 12:24:58 +0000 Subject: - 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 (maintainer) --- sysutils/shmcat/Makefile | 23 ++++++++--------------- sysutils/shmcat/distinfo | 4 ++-- sysutils/shmcat/pkg-plist | 10 +++++----- 3 files changed, 15 insertions(+), 22 deletions(-) (limited to 'sysutils') 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 - -.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 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 -- cgit