aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-17 19:44:46 +0800
committeradamw <adamw@FreeBSD.org>2014-07-17 19:44:46 +0800
commit8f9bb417773779647480f18aa6bc2f60de73b40a (patch)
tree146171be432b6273904ae31ead0e88db4af8fceb /irc
parent4106c7c86a61902fcdc5c55d7c2bc88bb5a7bb13 (diff)
downloadfreebsd-ports-gnome-8f9bb417773779647480f18aa6bc2f60de73b40a.tar.gz
freebsd-ports-gnome-8f9bb417773779647480f18aa6bc2f60de73b40a.tar.zst
freebsd-ports-gnome-8f9bb417773779647480f18aa6bc2f60de73b40a.zip
Add a new OPTION to enable emacs meta keys, and clean up the Makefile.
New OPTION is disabled by default, so no PORTREVISION bump.
Diffstat (limited to 'irc')
-rw-r--r--irc/ircII/Makefile34
1 files changed, 21 insertions, 13 deletions
diff --git a/irc/ircII/Makefile b/irc/ircII/Makefile
index 21445cbc1063..f93ecfb6eeea 100644
--- a/irc/ircII/Makefile
+++ b/irc/ircII/Makefile
@@ -1,32 +1,40 @@
# Created by: torstenb
# $FreeBSD$
-PORTNAME= ircii
+PORTNAME= ircii
PORTVERSION= 20131230
PORTREVISION= 1
-CATEGORIES= irc ipv6
+CATEGORIES= irc ipv6
MASTER_SITES= http://ircii.warped.com/
-MAINTAINER= adamw@FreeBSD.org
-COMMENT= Small and high extensible IRC client
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= Small and high extensible IRC client
-LICENSE= BSD3CLAUSE
+LICENSE= BSD3CLAUSE
GNU_CONFIGURE= yes
-CONFIGURE_ENV= IRCLIB=${PREFIX}/share/irc
-DATADIR= ${PREFIX}/share/irc
-USES= tar:bzip2
+DATADIR= ${PREFIX}/share/irc
+USES= tar:bzip2
-OPTIONS_DEFINE= IRCBUG
+OPTIONS_DEFINE= IRCBUG EMACS_KEYS
IRCBUG_DESC= Install ircII bug-reporting script
+EMACS_KEYS_DESC=Use emacs meta keys
OPTIONS_SUB= yes
+EMACS_KEYS_CONFIGURE_WITH= emacs-meta-keys
+
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} irc ircflush ${STAGEDIR}${PREFIX}/bin)
+ ${INSTALL_PROGRAM} ${WRKSRC}/irc ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/ircflush ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/ircbug ${STAGEDIR}${PREFIX}/bin
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} ircio wserv ${STAGEDIR}${PREFIX}/libexec)
- (cd ${WRKSRC}/doc && ${INSTALL_MAN} ircII.1 ircbug.1 ${STAGEDIR}${MANPREFIX}/man/man1)
- ${LN} -s ircII.1 ${STAGEDIR}${MANPREFIX}/man/man1/irc.1
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/ircio ${STAGEDIR}${PREFIX}/libexec
+ ${INSTALL_PROGRAM} ${WRKSRC}/wserv ${STAGEDIR}${PREFIX}/libexec
+
+ ${INSTALL_MAN} ${WRKSRC}/doc/ircII.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/doc/ircbug.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${LN} -sf ircII.1 ${STAGEDIR}${MANPREFIX}/man/man1/irc.1
+
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "help script" ${STAGEDIR}${DATADIR})