Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 04:44:38 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346086 - in head/net: libdnet py-libdnet
Message-ID:  <201402260444.s1Q4ic3M005483@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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"



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