Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/libtasn1/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 2003/01/18 21:11:44 1.2 +++ Makefile 2003/01/26 22:00:55 @@ -9,24 +9,32 @@ 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} Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/security/libtasn1/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 2003/01/07 13:44:32 1.1 +++ pkg-plist 2003/01/26 22:00:55 @@ -1,7 +1,6 @@ include/libtasn1.h lib/libtasn1.so.0 lib/libtasn1.so -lib/libtasn1.la lib/libtasn1.a %%PORTDOCS%%share/doc/libtasn1/AUTHORS %%PORTDOCS%%share/doc/libtasn1/NEWS