aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-06-12 23:02:54 +0800
committeradamw <adamw@FreeBSD.org>2014-06-12 23:02:54 +0800
commit2bf6653d84aabd8a87cc7e59184949af22e63619 (patch)
treebd755a167f7fabf1fc01c07306e19f5b232ade15
parenta3222ccfa9a95c235523784d2b2ad4fb117810ff (diff)
downloadfreebsd-ports-gnome-2bf6653d84aabd8a87cc7e59184949af22e63619.tar.gz
freebsd-ports-gnome-2bf6653d84aabd8a87cc7e59184949af22e63619.tar.zst
freebsd-ports-gnome-2bf6653d84aabd8a87cc7e59184949af22e63619.zip
Turn ircbug(1) into an OPTION.
-rw-r--r--irc/ircII/Makefile4
-rw-r--r--irc/ircII/pkg-plist4
2 files changed, 6 insertions, 2 deletions
diff --git a/irc/ircII/Makefile b/irc/ircII/Makefile
index 7ddf34cb55dc..121086864414 100644
--- a/irc/ircII/Makefile
+++ b/irc/ircII/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ircii
PORTVERSION= 20131230
+PORTREVISION= 1
CATEGORIES= irc ipv6
MASTER_SITES= http://ircii.warped.com/
@@ -16,6 +17,9 @@ CONFIGURE_ENV= IRCLIB=${PREFIX}/share/irc
DATADIR= ${PREFIX}/share/irc
USES= tar:bzip2
+OPTIONS_DEFINE= IRCBUG
+IRCBUG_DESC= Install ircII bug-reporting script
+
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} irc ircflush ${STAGEDIR}${PREFIX}/bin)
${INSTALL_SCRIPT} ${WRKSRC}/ircbug ${STAGEDIR}${PREFIX}/bin
diff --git a/irc/ircII/pkg-plist b/irc/ircII/pkg-plist
index da8e9e740077..6badca88395d 100644
--- a/irc/ircII/pkg-plist
+++ b/irc/ircII/pkg-plist
@@ -1,11 +1,11 @@
+%%IRCBUG%%bin/ircbug
+%%IRCBUG%%man/man1/ircbug.1.gz
bin/irc
-bin/ircbug
bin/ircflush
libexec/ircio
libexec/wserv
man/man1/irc.1.gz
man/man1/ircII.1.gz
-man/man1/ircbug.1.gz
%%DATADIR%%/help/!
%%DATADIR%%/help/.date
%%DATADIR%%/help/: