blob: b48b71f98ce2b0b5da531c4f7080296441ecf3fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: p5-libapreq
# Date created: March 13, 2000
# Whom: Frank Mayhar <frank@exit.com>
#
# $FreeBSD$
#
PORTNAME= libapreq
PORTVERSION= 1.0
CATEGORIES= www perl5 devel
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/J/JI/JIMW/
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Generic Apache Request Library
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Apache/src.pm:${PORTSDIR}/www/mod_perl
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
PLIST_SUB= EXAMPLESDIR="share/examples/${PORTNAME}"
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Apache::Cookie.3 Apache::Request.3 Apache::libapreq.3 \
libapreq.3
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}/c/testapreq
@${MKDIR} ${EXAMPLESDIR}/perl
${INSTALL_DATA} ${WRKSRC}/eg/c/testapreq/* ${EXAMPLESDIR}/c/testapreq
${INSTALL_SCRIPT} ${WRKSRC}/eg/perl/* ${EXAMPLESDIR}/perl
.endif
.include <bsd.port.mk>
|