PORTNAME=	cgi-lib_pl
PORTVERSION=	2.18
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	LOCAL/sada
DISTNAME=	cgi-lib.pl-${PORTVERSION}
EXTRACT_SUFX=	.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	De facto standard library for creating CGI in perl
WWW=		https://cgi-lib.berkeley.edu/

USES=		perl5
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} ${STAGEDIR}${INSTALL_DIR}
	${INSTALL_DATA} ${WRKSRC}/cgi-lib.pl ${STAGEDIR}${INSTALL_DIR}

.include <bsd.port.mk>
