Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 11:44:46 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362133 - head/irc/ircII
Message-ID:  <201407171144.s6HBikAZ028204@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Thu Jul 17 11:44:46 2014
New Revision: 362133
URL: http://svnweb.freebsd.org/changeset/ports/362133
QAT: https://qat.redports.org/buildarchive/r362133/

Log:
  Add a new OPTION to enable emacs meta keys, and clean up the Makefile.
  New OPTION is disabled by default, so no PORTREVISION bump.

Modified:
  head/irc/ircII/Makefile

Modified: head/irc/ircII/Makefile
==============================================================================
--- head/irc/ircII/Makefile	Thu Jul 17 11:21:57 2014	(r362132)
+++ head/irc/ircII/Makefile	Thu Jul 17 11:44:46 2014	(r362133)
@@ -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})
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407171144.s6HBikAZ028204>