freebsd-ports/security/p5-Authen-Krb5/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

33 lines
645 B
Makefile

# New ports collection makefile for: p5-Authen-Krb5
# Date created: 22 January 2001
# Whom: ajk@iu.edu
#
# $FreeBSD$
#
PORTNAME= Authen-Krb5
PORTVERSION= 1.6
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= Krb5-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for Kerberos 5
LIB_DEPENDS= gssapi_krb5.2:${PORTSDIR}/security/krb5
PERL_CONFIGURE= yes
MAN3= Authen::Krb5.3
KRB5_HOME?= ${LOCALBASE}
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e 's:/usr/local/krb5:${KRB5_HOME}:g; \
s:/usr/local:${LOCALBASE}:g;' \
${WRKSRC}/Makefile.PL
.include <bsd.port.post.mk>