5114e2637e
bsd.port.mk rev. 1.304 for details on the change. The fix here is one of the following. (1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining EXTRACT_* commands. (2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously calling the "tar" command (i.e., arguments like "-xzf" are spelled out). (3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS}, add ${EXTRACT_AFTER_ARGS} to the command line as well. (4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS is set, define the other two too.
35 lines
818 B
Makefile
35 lines
818 B
Makefile
# New ports collection makefile for: adcomplain
|
|
# http://www.rdrop.com/users/billmc/adcomplain.html
|
|
# Version required: 3.*
|
|
# Date created: 13 Sep 1997
|
|
# Whom: ache@FreeBSD.org
|
|
#
|
|
# $Id: Makefile,v 1.22 1999/01/15 00:36:52 ache Exp $
|
|
#
|
|
|
|
DISTNAME= adcomplain-3.49
|
|
CATEGORIES= mail news
|
|
MASTER_SITES= http://www.rdrop.com/users/billmc/
|
|
DISTFILES= adcomplain.pl.uu
|
|
|
|
MAINTAINER= ache@FreeBSD.org
|
|
|
|
USE_PERL5= yes
|
|
|
|
EXTRACT_CMD= /usr/bin/uudecode
|
|
EXTRACT_BEFORE_ARGS= <
|
|
EXTRACT_AFTER_ARGS= # empty
|
|
NO_WRKSUBDIR= YES
|
|
NO_BUILD= YES
|
|
|
|
post-patch:
|
|
cd ${WRKSRC}; \
|
|
cp adcomplain.pl adcomplain.pl.old; \
|
|
sed 's=%PERL5%=${PERL}=' < adcomplain.pl.old > adcomplain.pl
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; \
|
|
${INSTALL_SCRIPT} adcomplain.pl ${PREFIX}/bin/adcomplain
|
|
|
|
.include <bsd.port.mk>
|