Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2014 12:21:03 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353937 - head/security/libp11
Message-ID:  <201405131221.s4DCL3Vd058283@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Tue May 13 12:21:02 2014
New Revision: 353937
URL: http://svnweb.freebsd.org/changeset/ports/353937
QAT: https://qat.redports.org/buildarchive/r353937/

Log:
  Stagify.

Modified:
  head/security/libp11/Makefile
  head/security/libp11/pkg-descr
  head/security/libp11/pkg-plist

Modified: head/security/libp11/Makefile
==============================================================================
--- head/security/libp11/Makefile	Tue May 13 12:09:49 2014	(r353936)
+++ head/security/libp11/Makefile	Tue May 13 12:21:02 2014	(r353937)
@@ -4,19 +4,19 @@
 PORTNAME=	libp11
 PORTVERSION=	0.2.8
 CATEGORIES=	security devel
-MASTER_SITES=	http://www.opensc-project.org/files/${PORTNAME}/
+MASTER_SITES=	SF/opensc/${PORTNAME}
 
 MAINTAINER=	ale@FreeBSD.org
 COMMENT=	Small layer on top of PKCS\#11 API
 
 LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_AUTOTOOLS=	libltdl libtool
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+USE_AUTOTOOLS=	libltdl
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-USES=		pkgconfig
-USE_GNOME=	ltverhack
+USES=		libtool pkgconfig
 USE_LDCONFIG=	yes
 
 CONFIGURE_ENV=	LTLIB_CFLAGS="-I${LOCALBASE}/include" \
@@ -26,26 +26,20 @@ CONFIGURE_ENV=	LTLIB_CFLAGS="-I${LOCALBA
 
 PORTDOCS=	*
 
-.ifndef(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 CONFIGURE_ARGS+=--enable-doc
 .endif
 
-NO_STAGE=	yes
 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}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA}	${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/security/libp11/pkg-descr
==============================================================================
--- head/security/libp11/pkg-descr	Tue May 13 12:09:49 2014	(r353936)
+++ head/security/libp11/pkg-descr	Tue May 13 12:21:02 2014	(r353937)
@@ -2,4 +2,4 @@ Libp11 is a library implementing a small
 on top of PKCS#11 API to make using PKCS#11
 implementations easier.
 
-WWW:	http://www.opensc-project.org/libp11/
+WWW: https://github.com/OpenSC/libp11/wiki

Modified: head/security/libp11/pkg-plist
==============================================================================
--- head/security/libp11/pkg-plist	Tue May 13 12:09:49 2014	(r353936)
+++ head/security/libp11/pkg-plist	Tue May 13 12:21:02 2014	(r353937)
@@ -1,8 +1,8 @@
 include/libp11.h
 lib/libp11.a
-lib/libp11.la
 lib/libp11.so
 lib/libp11.so.2
+lib/libp11.so.2.2.0
 libdata/pkgconfig/libp11.pc
 %%EXAMPLESDIR%%/Makefile
 %%EXAMPLESDIR%%/README



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405131221.s4DCL3Vd058283>