1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add a new OPTION to enable emacs meta keys, and clean up the Makefile.

New OPTION is disabled by default, so no PORTREVISION bump.
This commit is contained in:
Adam Weinberger 2014-07-17 11:44:46 +00:00
parent 91ae61ccbe
commit a3fad371bc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362133

View File

@ -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})