freebsd-ports/mail/exipick/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

34 lines
776 B
Makefile

# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
# $FreeBSD$
PORTNAME= exipick
PORTVERSION= 20100323.0
CATEGORIES= mail
MASTER_SITES= http://jetmore.org/john/code/
DISTNAME= ${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX=
MAINTAINER= ports@FreeBSD.org
COMMENT= Display messages from Exim queue based on a variety of criteria
PLIST_FILES= bin/${PORTNAME}
USES= perl5 shebangfix
SHEBANG_FILES= ${DISTNAME}
USE_PERL5= run
NO_BUILD= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKSRC}
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}
post-patch:
@${REINPLACE_CMD} -e 's;\/local\/exim\/spool;\/var\/spool\/exim;g' \
${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>