- Use real PORTVERSION - Use = instead of += for MAKE_ARGS - Use USES=ssl - Sort PLIST Changes: http://search.cpan.org/dist/Crypt-OpenSSL-X509/Changes
32 lines
671 B
Makefile
32 lines
671 B
Makefile
# Created by: kftseng@iyard.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Crypt-OpenSSL-X509
|
|
PORTVERSION= 1.807
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl extension for OpenSSL X509 API
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
USES= perl5 ssl
|
|
USE_PERL5= configure
|
|
MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/cc_optimize_flags/ s| -Werror||' ${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Crypt/OpenSSL/X509/X509.so
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${SSL_DEFAULT:Mopenssl-devel}
|
|
BROKEN= Does not build with openssl-devel
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|