The only reason to use post-stage is because the port needs to do "things" at a later time, like some plist manipulation. While there, fold post-install in do-install targets when they are defined. PR: 214780 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
34 lines
741 B
Makefile
34 lines
741 B
Makefile
# Created by: kftseng@iyard.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Crypt-OpenSSL-X509
|
|
PORTVERSION= 1.8.06
|
|
CATEGORIES= security perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Perl extension for OpenSSL X509 API
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
USE_OPENSSL= yes
|
|
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>
|