Date: Mon, 11 Dec 2017 09:00:31 +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: r455933 - in head/databases/mrtg-mysql-load: . files Message-ID: <201712110900.vBB90V1H031719@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Dec 11 09:00:31 2017 New Revision: 455933 URL: https://svnweb.freebsd.org/changeset/ports/455933 Log: - Add LICENSE - Add NO_ARCH - Unsilence installation commands - Switch to USES=shebangfix Deleted: head/databases/mrtg-mysql-load/files/ Modified: head/databases/mrtg-mysql-load/Makefile Modified: head/databases/mrtg-mysql-load/Makefile ============================================================================== --- head/databases/mrtg-mysql-load/Makefile Mon Dec 11 09:00:27 2017 (r455932) +++ head/databases/mrtg-mysql-load/Makefile Mon Dec 11 09:00:31 2017 (r455933) @@ -11,10 +11,15 @@ MASTER_SITES= http://www.bitbybit.dk/mysql/mrtg-mysql- MAINTAINER= ports@FreeBSD.org COMMENT= MySQL load analysis fetcher for MRTG +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + RUN_DEPENDS= mrtg:net-mgmt/mrtg -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= ${PORTNAME} NO_BUILD= yes +NO_ARCH= yes NO_WRKSUBDIR= yes USE_PERL5= run USE_MYSQL= yes @@ -22,14 +27,11 @@ USE_MYSQL= yes PLIST_FILES= bin/mrtg-mysql-load etc/mrtg/mrtg.cfg-mysql-load.example \ etc/mrtg/mysql-load-cfg.example man/man1/${PORTNAME}.1.gz -post-patch: - @${REINPLACE_CMD} -e 's|%%PERL%%|${PERL}|' ${WRKSRC}/${PORTNAME} - do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mrtg - @${INSTALL_DATA} ${WRKSRC}/mrtg-cfg.example ${STAGEDIR}${PREFIX}/etc/mrtg/mrtg.cfg-mysql-load.example - @${INSTALL_DATA} ${WRKSRC}/mysql-load-cfg.example ${STAGEDIR}${PREFIX}/etc/mrtg/mysql-load-cfg.example - @${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/mrtg-cfg.example ${STAGEDIR}${PREFIX}/etc/mrtg/mrtg.cfg-mysql-load.example + ${INSTALL_DATA} ${WRKSRC}/mysql-load-cfg.example ${STAGEDIR}${PREFIX}/etc/mrtg/mysql-load-cfg.example + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712110900.vBB90V1H031719>