# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD: branches/RELENG_9_2_0/sysutils/shmcat/Makefile 316683 2013-04-27 18:25:24Z mva $

PORTNAME=	shmcat
PORTVERSION=	1.6
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
USEs=		iconv
GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	NLS

MAN1=		shmcat.1 \
		ftok.1

.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

.include <bsd.port.mk>
