1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/p5-Getopt-Popt/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

32 lines
757 B
Makefile

# 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.mk>