svn commit: r346086 - in head/net: libdnet py-libdnet

Martin Wilke miwi at FreeBSD.org
Wed Feb 26 04:44:39 UTC 2014


Author: miwi
Date: Wed Feb 26 04:44:38 2014
New Revision: 346086
URL: http://svnweb.freebsd.org/changeset/ports/346086
QAT: https://qat.redports.org/buildarchive/r346086/

Log:
  - Stage support

Modified:
  head/net/libdnet/Makefile
  head/net/libdnet/pkg-plist
  head/net/py-libdnet/Makefile

Modified: head/net/libdnet/Makefile
==============================================================================
--- head/net/libdnet/Makefile	Wed Feb 26 04:08:17 2014	(r346085)
+++ head/net/libdnet/Makefile	Wed Feb 26 04:44:38 2014	(r346086)
@@ -11,17 +11,13 @@ MAINTAINER?=	onatan at gmail.com
 COMMENT=	A simple interface to low level networking routines
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 
 .if !defined(LIBDNET_SLAVE)
 CONFIGURE_ARGS+=	--without-python
 USE_LDCONFIG=	yes
-
-MAN3=	dnet.3
-MAN8=	dnet.8
 .endif
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if !defined(LIBDNET_SLAVE)
@@ -33,8 +29,8 @@ post-build:
 	@cd ${WRKSRC}/src ; ${CC} ${CFLAGS} -shared -o libdnet.so .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-bsd.o .libs/eth-bsd.o .libs/fw-pf.o .libs/intf.o .libs/ip.o .libs/route-bsd.o .libs/tun-bsd.o
 
 post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}.so ${PREFIX}/lib/
-	@${LN} ${PREFIX}/lib/${PORTNAME}.so ${PREFIX}/lib/${PORTNAME}.so.1
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/
+	@${LN} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.1
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/net/libdnet/pkg-plist
==============================================================================
--- head/net/libdnet/pkg-plist	Wed Feb 26 04:08:17 2014	(r346085)
+++ head/net/libdnet/pkg-plist	Wed Feb 26 04:44:38 2014	(r346086)
@@ -22,4 +22,6 @@ include/dnet/route.h
 include/dnet/tcp.h
 include/dnet/tun.h
 include/dnet/udp.h
+man/man3/dnet.3.gz
+man/man8/dnet.8.gz
 @dirrm include/dnet

Modified: head/net/py-libdnet/Makefile
==============================================================================
--- head/net/py-libdnet/Makefile	Wed Feb 26 04:08:17 2014	(r346085)
+++ head/net/py-libdnet/Makefile	Wed Feb 26 04:44:38 2014	(r346086)
@@ -28,5 +28,4 @@ regression-test: install
 	${PYTHON_CMD} ${INSTALL_WRKSRC}/test.py
 .endif
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"


More information about the svn-ports-all mailing list