From 640538ff281cb29193c7dbc540149dbb28bcdc07 Mon Sep 17 00:00:00 2001 From: mich Date: Tue, 26 Oct 2004 11:51:22 +0000 Subject: o add OPTIONS for WITH_LOGCHARSET - WITH_LOGCHARSET adds a RUN_DEPENDS on p5-Text-Iconv o add empty do-build target, as workaround for OPTIONS bug Requested by: Ulrich Spoerlein --- irc/pisg/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'irc/pisg') diff --git a/irc/pisg/Makefile b/irc/pisg/Makefile index 64cb6e8..92fcb23 100644 --- a/irc/pisg/Makefile +++ b/irc/pisg/Makefile @@ -18,6 +18,16 @@ USE_REINPLACE= YES USE_PERL5= YES NO_BUILD= YES +OPTIONS= LOGCHARSET "Character set for logfiles" off + +.include + +.if defined(WITH_LOGCHARSET) +RUN_DEPENDS+= ${SITE_PERL}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv +.endif + +do-build: + pre-patch: @${REINPLACE_CMD} -e 's|lang.txt|${PREFIX}/share/pisg/lang.txt|; \ s|layout/|${PREFIX}/share/pisg/layout/|' \ @@ -55,4 +65,4 @@ post-install: @${ECHO_MSG} .endif -.include +.include -- cgit v1.1