freebsd-ports/security/p5-Authen-Krb5/Makefile
2008-10-06 22:49:40 +00:00

32 lines
655 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.8
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= Krb5-${PORTVERSION}
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for Kerberos 5
LIB_DEPENDS= krb5.3:${PORTSDIR}/security/krb5
PERL_CONFIGURE= yes
MAN3= Authen::Krb5.3
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's,/usr,${LOCALBASE},g' ${WRKSRC}/Makefile.PL
.if ${PERL_LEVEL} < 500800
@${REINPLACE_CMD} -e 's,const char,char,g' ${WRKSRC}/Krb5.xs
.endif
.include <bsd.port.post.mk>