1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- 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)
This commit is contained in:
Jason E. Hale 2014-09-09 12:24:58 +00:00
parent 50c0c99f5d
commit 486a2e54b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367727
3 changed files with 15 additions and 22 deletions

View File

@ -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>

View File

@ -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

View File

@ -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