Date: Wed, 23 Nov 2016 14:41:04 +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: r426928 - in head/ports-mgmt/pkg_tree: . files Message-ID: <201611231441.uANEf4x4084528@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Nov 23 14:41:04 2016 New Revision: 426928 URL: https://svnweb.freebsd.org/changeset/ports/426928 Log: - Add LICENSE - Simplify patching/installation Modified: head/ports-mgmt/pkg_tree/Makefile head/ports-mgmt/pkg_tree/files/patch-Makefile Modified: head/ports-mgmt/pkg_tree/Makefile ============================================================================== --- head/ports-mgmt/pkg_tree/Makefile Wed Nov 23 14:40:11 2016 (r426927) +++ head/ports-mgmt/pkg_tree/Makefile Wed Nov 23 14:41:04 2016 (r426928) @@ -10,16 +10,15 @@ MASTER_SITES= http://www.mavetju.org/dow MAINTAINER= ports@FreeBSD.org COMMENT= Get a 'graphical' tree-overview of installed packages +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= perl5 shebangfix SHEBANG_FILES= pkg_tree NO_ARCH= yes -PLIST_FILES= bin/pkg_tree man/man7/pkg_tree.7.gz - -post-patch: - @${REINPLACE_CMD} -e 's|__PREFIX__|${STAGEDIR}${PREFIX}|g ; \ - s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \ - s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile +PLIST_FILES= bin/pkg_tree \ + man/man7/pkg_tree.7.gz .include <bsd.port.mk> Modified: head/ports-mgmt/pkg_tree/files/patch-Makefile ============================================================================== --- head/ports-mgmt/pkg_tree/files/patch-Makefile Wed Nov 23 14:40:11 2016 (r426927) +++ head/ports-mgmt/pkg_tree/files/patch-Makefile Wed Nov 23 14:41:04 2016 (r426928) @@ -6,8 +6,8 @@ install: - install -o root -g wheel -m 755 -c pkg_tree /usr/local/bin - install -o root -g wheel -m 644 -c pkg_tree.7 /usr/local/man/man7 -+ __INSTALL_SCRIPT__ pkg_tree __PREFIX__/bin -+ __INSTALL_MAN__ pkg_tree.7 __PREFIX__/man/man7 ++ ${BSD_INSTALL_SCRIPT} pkg_tree ${DESTDIR}${PREFIX}/bin ++ ${BSD_INSTALL_MAN} pkg_tree.7 ${DESTDIR}${PREFIX}/man/man7 clean: rm pkg_tree.7
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611231441.uANEf4x4084528>