From 3c4b5af5ca9f54a03cd68b539436215e82892c9e Mon Sep 17 00:00:00 2001 From: Norikatsu Shigemura Date: Tue, 28 Jan 2003 22:19:12 +0000 Subject: - Re-sort MASTER_SITES (primary site is temporarily unavailable) - Use REINPLACE instead of 3 individual patches - Allow user to specify their own CPPFLAGS and LDFLAGS - Remove useless .la files PR: ports/47522 Submitted by: Sergei Kolobov (maintainer) --- security/libtasn1/Makefile | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'security/libtasn1/Makefile') diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile index 0c8f9e80aab2..207b213b5186 100644 --- a/security/libtasn1/Makefile +++ b/security/libtasn1/Makefile @@ -9,24 +9,32 @@ PORTNAME= libtasn1 PORTVERSION= 0.1.2 CATEGORIES= security MASTER_SITES= http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/libtasn1/ \ - ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \ - ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/libtasn1/ \ http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \ - ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ + ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/libtasn1/ \ + ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \ + ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ MAINTAINER= sergei@kolobov.com -LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt +USE_REINPLACE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DOCS= AUTHORS NEWS README THANKS DOCS2= asn1.ps asn1.tex fdl.tex +post-patch: +.for file in asn1Coding.c asn1Decoding.c asn1Parser.c + ${REINPLACE_CMD} -e 's///' ${WRKSRC}/src/${file} +.endfor + post-install: + ${RM} -f ${PREFIX}/lib/libtasn1.la .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in ${DOCS} -- cgit v1.2.3