diff options
author | nork <nork@FreeBSD.org> | 2003-01-28 22:19:12 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-01-28 22:19:12 +0000 |
commit | 23bc41db76dbf33d53f965e959dc19b9c2917f8b (patch) | |
tree | 3b6c7bc3b85cda05fbfea3b56c680350e624f3b8 /security/libtasn1/Makefile | |
parent | 22797d98152e4e1fdce46d0a92b7de6acc8a1613 (diff) | |
download | FreeBSD-ports-23bc41db76dbf33d53f965e959dc19b9c2917f8b.zip FreeBSD-ports-23bc41db76dbf33d53f965e959dc19b9c2917f8b.tar.gz |
- 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 <sergei@kolobov.com> (maintainer)
Diffstat (limited to 'security/libtasn1/Makefile')
-rw-r--r-- | security/libtasn1/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile index 0c8f9e8..207b213 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/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file} +.endfor + post-install: + ${RM} -f ${PREFIX}/lib/libtasn1.la .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in ${DOCS} |