mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
c8df88ddad
Do the same for pkg-descr files. Approved by: markm
33 lines
778 B
Makefile
33 lines
778 B
Makefile
# New ports collection makefile for: www/p5-URI-Sequin
|
|
# Date created: 25 April 2001
|
|
# Whom: Anton Berezin <tobez@tobez.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Sequin
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= URI
|
|
PKGNAMEPREFIX= p5-URI-
|
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= URI::Sequin.3
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
|
|
pre-patch:
|
|
@${PERL} -pi -e \
|
|
's|\);$$|PM=>{q!Sequin.pm!=>q!\$$(INST_LIBDIR)/Sequin.pm!});|' \
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples
|
|
@${INSTALL_DATA} ${WRKSRC}/Example.pl ${WRKSRC}/referer_log?.txt \
|
|
${PREFIX}/lib/perl5/site_perl/${PERL_VER}/URI/Sequin/examples
|
|
|
|
.include <bsd.port.mk>
|