freebsd-ports/ports-mgmt/pkg_tree/Makefile
Mathieu Arnold 7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00

25 lines
596 B
Makefile

# Created by: Edwin Groothuis (edwin@mavetju.org)
# $FreeBSD$
PORTNAME= pkg_tree
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.mavetju.org/download/
MAINTAINER= edwin@mavetju.org
COMMENT= Get a 'graphical' tree-overview of installed packages
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
.include <bsd.port.mk>