aboutsummaryrefslogtreecommitdiffstats
path: root/net/libdnet
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-26 12:44:38 +0800
committermiwi <miwi@FreeBSD.org>2014-02-26 12:44:38 +0800
commit57c83762830fa0acb231a069363fba7c0da1b7e4 (patch)
tree3648e85deebeb8b9df561d9330a2d43dcb4477e2 /net/libdnet
parent01afb2d9d86cc12ce4289fc5629a9d7f3f3fa28c (diff)
downloadfreebsd-ports-gnome-57c83762830fa0acb231a069363fba7c0da1b7e4.tar.gz
freebsd-ports-gnome-57c83762830fa0acb231a069363fba7c0da1b7e4.tar.zst
freebsd-ports-gnome-57c83762830fa0acb231a069363fba7c0da1b7e4.zip
- Stage support
Diffstat (limited to 'net/libdnet')
-rw-r--r--net/libdnet/Makefile10
-rw-r--r--net/libdnet/pkg-plist2
2 files changed, 5 insertions, 7 deletions
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index 80d1b2f9e959..f11f8fcecc22 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -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>
diff --git a/net/libdnet/pkg-plist b/net/libdnet/pkg-plist
index 58d3c68913cb..97174f3b5f49 100644
--- a/net/libdnet/pkg-plist
+++ b/net/libdnet/pkg-plist
@@ -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