summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/shmcat/Makefile34
-rw-r--r--sysutils/shmcat/distinfo2
-rw-r--r--sysutils/shmcat/pkg-descr5
-rw-r--r--sysutils/shmcat/pkg-plist12
5 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 88687ad08f45..1b507b10d227 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -851,6 +851,7 @@
SUBDIR += sge61
SUBDIR += sge62
SUBDIR += shlock
+ SUBDIR += shmcat
SUBDIR += sievelog
SUBDIR += skill
SUBDIR += slack
diff --git a/sysutils/shmcat/Makefile b/sysutils/shmcat/Makefile
new file mode 100644
index 000000000000..3981281947db
--- /dev/null
+++ b/sysutils/shmcat/Makefile
@@ -0,0 +1,34 @@
+# Created by: Gasol Wu <gasol.wu@gmail.com>
+# $FreeBSD$
+
+PORTNAME= shmcat
+PORTVERSION= 1.5
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= gasol.wu@gmail.com
+COMMENT= Simple tool that dumps System V shared memory segments
+
+USE_BZIP2= yes
+USE_ICONV= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
+
+OPTIONS_DEFINE= NLS
+
+MAN1= shmcat.1 \
+ ftok.1
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+MANLANG= "" de
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+.include <bsd.port.mk>
diff --git a/sysutils/shmcat/distinfo b/sysutils/shmcat/distinfo
new file mode 100644
index 000000000000..53089747b9a5
--- /dev/null
+++ b/sysutils/shmcat/distinfo
@@ -0,0 +1,2 @@
+SHA256 (shmcat-1.5.tar.bz2) = 1aa15c67719e5a8b745af6877d2dc79c89b9b0987504703732bc04b2291d1f65
+SIZE (shmcat-1.5.tar.bz2) = 300975
diff --git a/sysutils/shmcat/pkg-descr b/sysutils/shmcat/pkg-descr
new file mode 100644
index 000000000000..7a6bddbcd942
--- /dev/null
+++ b/sysutils/shmcat/pkg-descr
@@ -0,0 +1,5 @@
+This is a simple tool that dumps System V shared memory segments, files and
+text. It might be useful when you have to debug programs that use System V
+shared memory.
+
+WWW: http://sourceforge.net/projects/shmcat/
diff --git a/sysutils/shmcat/pkg-plist b/sysutils/shmcat/pkg-plist
new file mode 100644
index 000000000000..34afc8b43747
--- /dev/null
+++ b/sysutils/shmcat/pkg-plist
@@ -0,0 +1,12 @@
+@comment $FreeBSD$
+bin/ftok
+bin/shmcat
+%%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
+%%NLS%%@dirrmtry share/locale/en@boldquot
+%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/en@quot
+%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES