diff options
author | mich <mich@FreeBSD.org> | 2004-10-26 19:51:22 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2004-10-26 19:51:22 +0800 |
commit | 640538ff281cb29193c7dbc540149dbb28bcdc07 (patch) | |
tree | a1a3e82d9f5471a3a1d8da306dd937be94c381ee /irc/pisg | |
parent | 1abae63728bf440ab027680c34010516009a4ffd (diff) | |
download | freebsd-ports-gnome-640538ff281cb29193c7dbc540149dbb28bcdc07.tar.gz freebsd-ports-gnome-640538ff281cb29193c7dbc540149dbb28bcdc07.tar.zst freebsd-ports-gnome-640538ff281cb29193c7dbc540149dbb28bcdc07.zip |
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 64cb6e83c90b..92fcb23e448a 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> |