svn commit: r335369 - head/security/nettle

Johan van Selst johans at FreeBSD.org
Sun Dec 1 09:16:17 UTC 2013


Author: johans
Date: Sun Dec  1 09:16:16 2013
New Revision: 335369
URL: http://svnweb.freebsd.org/changeset/ports/335369

Log:
  Enable stage support; no functional changes

Modified:
  head/security/nettle/Makefile

Modified: head/security/nettle/Makefile
==============================================================================
--- head/security/nettle/Makefile	Sun Dec  1 07:55:28 2013	(r335368)
+++ head/security/nettle/Makefile	Sun Dec  1 09:16:16 2013	(r335369)
@@ -15,9 +15,9 @@ COMMENT=	Low-level cryptographic library
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
-LIB_DEPENDS=	gmp:${PORTSDIR}/math/gmp
+LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	M4="/usr/bin/m4 -g"
@@ -32,7 +32,6 @@ PORTDOCS=	NEWS README TODO nettle.html n
 PORTEXAMPLES=	*.c *.h
 INFO=		nettle
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "sparc64"
@@ -43,12 +42,13 @@ CONFIGURE_ENV+=	CCPIC=-fPIC
 
 post-install:
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} examples/${PORTEXAMPLES} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} \
+		${STAGEDIR}${EXAMPLESDIR}
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list