mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
bc02afde05
See http://wiki.freebsd.org/Perl for details. - Change maintainership from ports@ to perl@ for ports in this changeset. - Remove MD5 checksum
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
# New ports collection makefile for: www/p5-CGI.pm
|
|
# Date created: 12 July 2001
|
|
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= CGI.pm
|
|
PORTVERSION= 3.55
|
|
PORTEPOCH= 1
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:MARKSTOS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
|
COMMENT= Simple Common Gateway Interface Class for Perl
|
|
|
|
TEST_DEPENDS= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
|
|
|
|
LICENSE= ART20 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= CGI.3 CGI::Apache.3 CGI::Carp.3 CGI::Cookie.3 \
|
|
CGI::Fast.3 CGI::Pretty.3 CGI::Push.3 CGI::Switch.3 \
|
|
CGI::Util.3
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
EXAMPLES= examples/caution.xbm examples/clickable_image.cgi \
|
|
examples/cookie.cgi examples/crash.cgi examples/customize.cgi \
|
|
examples/diff_upload.cgi examples/dna.small.gif \
|
|
examples/file_upload.cgi examples/frameset.cgi \
|
|
examples/index.html examples/internal_links.cgi \
|
|
examples/javascript.cgi examples/make_links.pl \
|
|
examples/monty.cgi examples/multiple_forms.cgi \
|
|
examples/nph-clock.cgi examples/nph-multipart.cgi \
|
|
examples/popup.cgi examples/save_state.cgi \
|
|
examples/tryit.cgi examples/wilogo.gif
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
|
|
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/require 5\.6/d; /INSTALLDIRS/d' ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.mk>
|