38 lines
866 B
Makefile
38 lines
866 B
Makefile
# New ports collection makefile for: p5-Algorithm-Cluster
|
|
# Date created: Fri May 21 15:21:09 CST 2004
|
|
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Algorithm-Cluster
|
|
PORTVERSION= 1.29
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Algorithm
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= A perl interface to C clustering library
|
|
|
|
PERL_CONFIGURE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
MAN3= Algorithm::Cluster.3
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
"s|${PORTNAME}|Algorithm::Cluster|" ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
|
|
.endif
|
|
|
|
.if ${ARCH} == "amd64"
|
|
BROKEN= "Does not build on amd64 (needs to build shared libraries with -fPIC)"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|