# 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.9 2003/02/21 13:42:46 knu Exp $
#

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

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

LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext

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

MAN1=		rotix.1

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

.include <bsd.port.mk>
