aboutsummaryrefslogtreecommitdiffstats
path: root/security/libp11
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2008-08-27 16:30:38 +0800
committerale <ale@FreeBSD.org>2008-08-27 16:30:38 +0800
commit9cb43dcfd7de7075f6763a2d803106e1f6c94985 (patch)
tree6822127f4f18137318d19c5306312a57bf03b475 /security/libp11
parent886c19e3bb426c53ef2f9981e49063fcacf63452 (diff)
downloadfreebsd-ports-gnome-9cb43dcfd7de7075f6763a2d803106e1f6c94985.tar.gz
freebsd-ports-gnome-9cb43dcfd7de7075f6763a2d803106e1f6c94985.tar.zst
freebsd-ports-gnome-9cb43dcfd7de7075f6763a2d803106e1f6c94985.zip
Update to 0.2.4 release.
Diffstat (limited to 'security/libp11')
-rw-r--r--security/libp11/Makefile34
-rw-r--r--security/libp11/distinfo6
2 files changed, 24 insertions, 16 deletions
diff --git a/security/libp11/Makefile b/security/libp11/Makefile
index 01d0a7da7ecb..3f0feb2548cc 100644
--- a/security/libp11/Makefile
+++ b/security/libp11/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libp11
-PORTVERSION= 0.2.3
+PORTVERSION= 0.2.4
CATEGORIES= security devel
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/
@@ -16,27 +16,35 @@ COMMENT= A small layer on top of PKCS\#11 API
USE_AUTOTOOLS= libltdl:15
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack pkgconfig
+USE_GNOME= pkgconfig
USE_LDCONFIG= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
+CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \
+ LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \
OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"
-DOC_FILES= README *.sh *.xsl *.css *.html api
-
PORTDOCS= *
+.ifndef(NOPORTDOCS)
+CONFIGURE_ARGS+=--enable-doc
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
+ ${WRKSRC}/configure
+.ifndef(NOPORTDOCS)
+ @${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \
+ ${WRKSRC}/doc/Makefile.in
+.else
+ @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
+ ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am:|' \
+ ${WRKSRC}/doc/Makefile.in
+.endif
+
post-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/doc && ${CP} -R ${DOC_FILES} ${DOCSDIR})
-.endif
.include <bsd.port.mk>
diff --git a/security/libp11/distinfo b/security/libp11/distinfo
index 8f33e8e16dee..fc89c77e77d8 100644
--- a/security/libp11/distinfo
+++ b/security/libp11/distinfo
@@ -1,3 +1,3 @@
-MD5 (libp11-0.2.3.tar.gz) = 28ee2fc73fd82fbaa4a0670c972ca191
-SHA256 (libp11-0.2.3.tar.gz) = aa8051f8a2b0eda71a3e6b3e0890fecd7b5b8f1d202c4e90330bfaac03a960ed
-SIZE (libp11-0.2.3.tar.gz) = 413906
+MD5 (libp11-0.2.4.tar.gz) = 9e2c5cbececde245e2d2f535bd49ce35
+SHA256 (libp11-0.2.4.tar.gz) = 180a916e595981b5bc499722af96c621612591d496d29c3d2a2faca4eedab537
+SIZE (libp11-0.2.4.tar.gz) = 414058