# ex:ts=8
# New ports collection makefile for:	rotix
# Date created:			Dec 8, 2001
# Whom:				lintux@debian.org
#
# $FreeBSD: ports/textproc/rotix/Makefile,v 1.14 2004/02/04 04:36:26 marcus Exp $
#

PORTNAME=	rotix
PORTVERSION=	0.82
PORTREVISION=	3
CATEGORIES=	textproc
MASTER_SITES=	http://elektron.its.tudelft.nl/~hemmin98/rotix_releases/${DISTNAME}/

MAINTAINER=	lintux@debian.org
COMMENT=	A program to generate rotational obfuscations

USE_GETTEXT=	yes
USE_GMAKE=	yes
HAS_CONFIGURE=	yes
USE_REINPLACE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1
CONFIGURE_ENV=	EXPR_COMPAT=1

MAN1=		rotix.1

PLIST_FILES=	bin/rotix share/locale/nl/LC_MESSAGES/rotix.mo

post-patch:
	@${REINPLACE_CMD} -e 's,%%CFLAGS%%,${CFLAGS},; s,%%LOCALBASE%%,${LOCALBASE},;' \
		${WRKSRC}/Makefile

.include <bsd.port.mk>
