mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
7c47779cb9
${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
33 lines
822 B
Makefile
33 lines
822 B
Makefile
# Created by: ache@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= adcomplain
|
|
PORTVERSION= 3.52
|
|
CATEGORIES= mail news
|
|
MASTER_SITES= http://www.rdrop.com/users/billmc/
|
|
DISTNAME= ${PORTNAME}.pl
|
|
EXTRACT_SUFX= .uu
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Complain about inappropriate commercial use (f.e. SPAM) of usenet/e-mail
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= adcomplain.pl
|
|
|
|
EXTRACT_CMD= /usr/bin/uudecode
|
|
EXTRACT_BEFORE_ARGS= <
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
PLIST_FILES= bin/adcomplain
|
|
|
|
# fix-shebang normally runs before the patches in ${FILESDIR} are applied. In
|
|
# this case, we need it to run after, so that it can fix the right shebang.
|
|
TARGET_ORDER_OVERRIDE= 750:fix-shebang
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/adcomplain.pl \
|
|
${STAGEDIR}${PREFIX}/bin/adcomplain
|
|
|
|
.include <bsd.port.mk>
|