svn commit: r346829 - head/security/opencdk

Baptiste Daroussin bapt at FreeBSD.org
Sun Mar 2 22:50:09 UTC 2014


Author: bapt
Date: Sun Mar  2 22:50:08 2014
New Revision: 346829
URL: http://svnweb.freebsd.org/changeset/ports/346829
QAT: https://qat.redports.org/buildarchive/r346829/

Log:
  Support stage
  Convert to USES=libtool
  Use modern LIB_DEPENDS

Modified:
  head/security/opencdk/Makefile
  head/security/opencdk/pkg-plist

Modified: head/security/opencdk/Makefile
==============================================================================
--- head/security/opencdk/Makefile	Sun Mar  2 22:40:50 2014	(r346828)
+++ head/security/opencdk/Makefile	Sun Mar  2 22:50:08 2014	(r346829)
@@ -12,30 +12,23 @@ MASTER_SITE_SUBDIR=	alpha/gnutls/opencdk
 MAINTAINER=	novel at FreeBSD.org
 COMMENT=	Open Crypto Development Kit
 
-LIB_DEPENDS=	gcrypt:${PORTSDIR}/security/libgcrypt
+OPTIONS_DEFINE=	DOCS
+
+LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USES=		pkgconfig
-USE_GNOME=	ltverhack
+USES=		libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
-USE_AUTOTOOLS=	libtool
 CONFIGURE_ARGS=	--with-libgcrypt-prefix=${LOCALBASE}
 
 DOCS=		AUTHORS NEWS README THANKS doc/opencdk-api.html
 
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
-		${WRKSRC}/src/Makefile.in
-
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/tests/*.c ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${STAGEDIR}${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/security/opencdk/pkg-plist
==============================================================================
--- head/security/opencdk/pkg-plist	Sun Mar  2 22:40:50 2014	(r346828)
+++ head/security/opencdk/pkg-plist	Sun Mar  2 22:50:08 2014	(r346829)
@@ -4,6 +4,7 @@ lib/libopencdk.a
 lib/libopencdk.la
 lib/libopencdk.so
 lib/libopencdk.so.10
+lib/libopencdk.so.10.0.6
 libdata/pkgconfig/opencdk.pc
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/NEWS


More information about the svn-ports-head mailing list