diff options
author | mich <mich@FreeBSD.org> | 2004-10-26 11:51:22 +0000 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2004-10-26 11:51:22 +0000 |
commit | 640538ff281cb29193c7dbc540149dbb28bcdc07 (patch) | |
tree | a1a3e82d9f5471a3a1d8da306dd937be94c381ee /irc/pisg | |
parent | 1abae63728bf440ab027680c34010516009a4ffd (diff) | |
download | FreeBSD-ports-640538ff281cb29193c7dbc540149dbb28bcdc07.zip FreeBSD-ports-640538ff281cb29193c7dbc540149dbb28bcdc07.tar.gz |
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 <q@uni.de>
Diffstat (limited to 'irc/pisg')
-rw-r--r-- | irc/pisg/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> |