aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg_tree
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-23 14:41:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-23 14:41:04 +0000
commit8c64da30f6fe5820c56fa4a9ebdffaf6c3a711d3 (patch)
treeb92cc0961a4e6f7271966a7ede9bc8c697b3b9d5 /ports-mgmt/pkg_tree
parentac1ce00d1cf54198c95223761aa6dcb68822141c (diff)
Notes
Diffstat (limited to 'ports-mgmt/pkg_tree')
-rw-r--r--ports-mgmt/pkg_tree/Makefile11
-rw-r--r--ports-mgmt/pkg_tree/files/patch-Makefile4
2 files changed, 7 insertions, 8 deletions
diff --git a/ports-mgmt/pkg_tree/Makefile b/ports-mgmt/pkg_tree/Makefile
index 956067527dd9..3fda3bed432f 100644
--- a/ports-mgmt/pkg_tree/Makefile
+++ b/ports-mgmt/pkg_tree/Makefile
@@ -10,16 +10,15 @@ MASTER_SITES= http://www.mavetju.org/download/
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>
diff --git a/ports-mgmt/pkg_tree/files/patch-Makefile b/ports-mgmt/pkg_tree/files/patch-Makefile
index fc2879dc5c24..f60573f31a6a 100644
--- a/ports-mgmt/pkg_tree/files/patch-Makefile
+++ b/ports-mgmt/pkg_tree/files/patch-Makefile
@@ -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