blob: df0cb6758a8ecdd7dbff4b314a5db90f78b47aaa (
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: Getopt-Popt
# Date created: 04 November 2004
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Getopt-Popt
PORTVERSION= 0.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Getopt
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Perl interface to the popt(3) library
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ARGS= INC='-I${LOCALBASE}/include' LIBS'-L${LOCALBASE}/lib'
MAN3= Getopt::Popt.3
post-patch:
@${MKDIR} ${WRKSRC}/ex
@${MV} ${WRKSRC}/example.pl ${WRKSRC}/ex
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= Perl 5.6 or newer required. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>
|