Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 11:52:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408381 - head/irc/infobot
Message-ID:  <201602071152.u17Bqw0K045483@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb  7 11:52:58 2016
New Revision: 408381
URL: https://svnweb.freebsd.org/changeset/ports/408381

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/irc/infobot/Makefile

Modified: head/irc/infobot/Makefile
==============================================================================
--- head/irc/infobot/Makefile	Sun Feb  7 11:51:29 2016	(r408380)
+++ head/irc/infobot/Makefile	Sun Feb  7 11:52:58 2016	(r408381)
@@ -11,6 +11,9 @@ MASTER_SITES=	http://www.infobot.org/src
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Bot written in Perl with a rabid AI
 
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
 USES=		perl5 shebangfix
 SHEBANG_FILES=	${PORTNAME} scripts/*
 USE_PERL5=	run
@@ -29,14 +32,16 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${CP} -r ${WRKSRC}/src ${WRKSRC}/extras ${WRKSRC}/files \
 		${WRKSRC}/scripts ${STAGEDIR}${DATADIR}/
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/REVISIONS ${STAGEDIR}${DOCSDIR}
 	@${MKDIR} ${STAGEDIR}${ETCDIR}
 	${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${ETCDIR}
 	${SED} -e 's,$$param{\(.\)basedir\(.\)} = .*,$$param{\1basedir\2} = "${DATADIR}";,' \
-	-e 's,$$param{\(.\)confdir\(.\)} = .*,$$param{\1confdir\2} = "${ETCDIR}";,' \
+		-e 's,$$param{\(.\)confdir\(.\)} = .*,$$param{\1confdir\2} = "${ETCDIR}";,' \
 	${WRKSRC}/infobot  > ${WRKDIR}/infobot
 	${INSTALL_SCRIPT} ${WRKDIR}/infobot ${STAGEDIR}${PREFIX}/bin
 
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/LICENSE ${WRKSRC}/README ${WRKSRC}/REVISIONS ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>



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