Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 08:55:29 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346469 - head/net/libunp
Message-ID:  <201402280855.s1S8tTet086821@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 28 08:55:29 2014
New Revision: 346469
URL: http://svnweb.freebsd.org/changeset/ports/346469
QAT: https://qat.redports.org/buildarchive/r346469/

Log:
  Support staging

Modified:
  head/net/libunp/Makefile

Modified: head/net/libunp/Makefile
==============================================================================
--- head/net/libunp/Makefile	Fri Feb 28 08:47:34 2014	(r346468)
+++ head/net/libunp/Makefile	Fri Feb 28 08:55:29 2014	(r346469)
@@ -11,24 +11,24 @@ DISTNAME=	unpv12e
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	The networking library used in UNIX Network Programming Volume 1 2e
 
+USES=		gmake
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 
-NO_STAGE=	yes
 pre-patch:
-	@ ${CP} ${WRKSRC}/lib/wrapsock.c ${WRKSRC}/lib/wrapsock_r.c
+	@${CP} ${WRKSRC}/lib/wrapsock.c ${WRKSRC}/lib/wrapsock_r.c
 
 post-configure:
-	@ ${MKDIR} ${WRKSRC}/unp
-	@ ${LN} -s ${WRKSRC}/config.h ${WRKSRC}/unp/config.h
-	@ ${LN} -s ${WRKSRC}/lib/addrinfo.h ${WRKSRC}/unp/addrinfo.h
+	@${MKDIR} ${WRKSRC}/unp
+	@${LN} -s ${WRKSRC}/config.h ${WRKSRC}/unp/config.h
+	@${LN} -s ${WRKSRC}/lib/addrinfo.h ${WRKSRC}/unp/addrinfo.h
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/libunp.a ${PREFIX}/lib
-	${INSTALL_DATA} ${WRKSRC}/libunp_r.a ${PREFIX}/lib
-	${MKDIR} ${PREFIX}/include/unp
-	${INSTALL_DATA} ${WRKSRC}/lib/unp.h ${PREFIX}/include
-	${INSTALL_DATA} ${WRKSRC}/lib/addrinfo.h ${PREFIX}/include/unp
-	${INSTALL_DATA} ${WRKSRC}/config.h ${PREFIX}/include/unp
+	${INSTALL_DATA} ${WRKSRC}/libunp.a ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/libunp_r.a ${STAGEDIR}${PREFIX}/lib
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/unp
+	${INSTALL_DATA} ${WRKSRC}/lib/unp.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/lib/addrinfo.h \
+		${STAGEDIR}${PREFIX}/include/unp
+	${INSTALL_DATA} ${WRKSRC}/config.h ${STAGEDIR}${PREFIX}/include/unp
 
 .include <bsd.port.mk>



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