# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD: branches/RELEASE_8_4_0/sysutils/shmcat/Makefile 309116 2012-12-17 18:22:27Z pawel $

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
USE_ICONV=	yes
GNU_CONFIGURE=	yes

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>
