freebsd-ports/www/cgi-lib.pl/Makefile
Baptiste Daroussin 5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00

34 lines
721 B
Makefile

# New ports collection makefile for: cgi-lib.pl
# Date created: 23 June 2002
# Whom: sada
#
# $FreeBSD$
#
PORTNAME= cgi-lib_pl
PORTVERSION= 2.18
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sada
DISTNAME= cgi-lib.pl-${PORTVERSION}
EXTRACT_SUFX= .gz
MAINTAINER= ports@FreeBSD.org
COMMENT= De facto standard library for creating CGI in perl
USE_PERL5= YES
NO_BUILD= YES
NO_WRKSUBDIR= YES
PLIST_FILES= %%SITE_PERL%%/cgi-lib.pl
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= > cgi-lib.pl
INSTALL_BASE= ${SITE_PERL_REL}
INSTALL_DIR= ${PREFIX}/${INSTALL_BASE}
do-install:
-${MKDIR} ${INSTALL_DIR}
${INSTALL_DATA} ${WRKDIR}/cgi-lib.pl ${INSTALL_DIR}
.include <bsd.port.mk>