Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 16:33:27 +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: r340618 - head/security/cryptlib
Message-ID:  <201401211633.s0LGXRLP049969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Tue Jan 21 16:33:26 2014
New Revision: 340618
URL: http://svnweb.freebsd.org/changeset/ports/340618
QAT: https://qat.redports.org/buildarchive/r340618/

Log:
  Remove gmake dependency and stagify.
  
  PR:		ports/185404
  Submitted by:	Stephen Hurd <shurd@sasktel.net>

Modified:
  head/security/cryptlib/Makefile

Modified: head/security/cryptlib/Makefile
==============================================================================
--- head/security/cryptlib/Makefile	Tue Jan 21 16:18:52 2014	(r340617)
+++ head/security/cryptlib/Makefile	Tue Jan 21 16:33:26 2014	(r340618)
@@ -12,10 +12,11 @@ COMMENT=		Powerful security programming 
 
 ONLY_FOR_ARCHS=		i386 amd64
 
+OPTIONS_DEFINE=		DOCS
+
 USE_ZIP=		yes
 EXTRACT_BEFORE_ARGS=	-aq
 NO_WRKSUBDIR=		yes
-USES=			gmake
 MAKEFILE=		makefile
 ALL_TARGET=		default FreeBSD shared
 USE_LDCONFIG=		yes
@@ -27,9 +28,6 @@ PLIST_FILES=		include/cryptlib.h \
 
 PORTDOCS=		README
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's/%%CFLAGS%%/${CFLAGS}/' ${WRKSRC}/makefile
 	@${REINPLACE_CMD} -e 's/%%PTHREAD_CFLAGS%%/${PTHREAD_CFLAGS}/' ${WRKSRC}/makefile
@@ -37,15 +35,13 @@ post-patch:
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/libcl.a ${WRKSRC}/libcl.so.${PORTVERSION} \
-		${PREFIX}/lib
-	${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION} ${PREFIX}/lib/libcl.so.3
-	${LN} -sf ${PREFIX}/lib/libcl.so.3 ${PREFIX}/lib/libcl.so
-	${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${PREFIX}/include
+		${STAGEDIR}${PREFIX}/lib
+	${LN} -sf ${PREFIX}/lib/libcl.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libcl.so.3
+	${LN} -sf ${PREFIX}/lib/libcl.so.3 ${STAGEDIR}${PREFIX}/lib/libcl.so
+	${INSTALL_DATA} ${WRKSRC}/cryptlib.h ${STAGEDIR}${PREFIX}/include
 
-.if !defined(NOPORTDOCS)
 post-install:
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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