aboutsummaryrefslogtreecommitdiff
path: root/net/libnet
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-11-16 20:09:42 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-11-16 20:09:42 +0000
commit54881ade707235a3d597544e2e883eb539b63b81 (patch)
treefcbba39809f72e9a5af74327242ba309361ea39d /net/libnet
parent0c8ddf962aefb99f90e3128924b33b952305eec2 (diff)
downloadports-54881ade707235a3d597544e2e883eb539b63b81.tar.gz
ports-54881ade707235a3d597544e2e883eb539b63b81.zip
Notes
Diffstat (limited to 'net/libnet')
-rw-r--r--net/libnet/Makefile14
-rw-r--r--net/libnet/pkg-plist3
2 files changed, 9 insertions, 8 deletions
diff --git a/net/libnet/Makefile b/net/libnet/Makefile
index 3aa3ba861b7f..bff6eb8d6488 100644
--- a/net/libnet/Makefile
+++ b/net/libnet/Makefile
@@ -13,7 +13,6 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= A C library for creating IP packets
LATEST_LINK= ${PORTNAME}${SHORT_VER}
-NO_STAGE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
@@ -29,7 +28,6 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${SHORT_NAME}
USE_LDCONFIG= ${PREFIX}/lib/${SHORT_NAME}
PLIST_SUB= SVER=${SHORT_VER} SNAME=${SHORT_NAME} VERSION=${PORTVERSION}
-MAN3= libnet-functions.h.3 libnet-macros.h.3 libnet.h.3
DOCS= README doc/CHANGELOG doc/CONTRIB doc/COPYING \
doc/DESIGN_NOTES doc/MIGRATION doc/PACKET_BUILDING doc/PORTED \
doc/RAWSOCKET_NON_SEQUITUR doc/TODO
@@ -60,17 +58,17 @@ post-patch:
${WRKSRC}/src/Makefile.in
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/libnet-config ${PREFIX}/bin/${SHORT_NAME}-config
- @cd ${PREFIX}/lib && \
+ ${INSTALL_SCRIPT} ${WRKSRC}/libnet-config ${STAGEDIR}${PREFIX}/bin/${SHORT_NAME}-config
+ @cd ${STAGEDIR}${PREFIX}/lib && \
${LN} -sf ${SHORT_NAME}/libnet.so libnet-${PORTVERSION}.so.8 && \
${LN} -sf libnet-${PORTVERSION}.so.8 libnet-${PORTVERSION}.so
.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
.endif
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/net/libnet/pkg-plist b/net/libnet/pkg-plist
index f6f3c622a014..1cf0189bd2ea 100644
--- a/net/libnet/pkg-plist
+++ b/net/libnet/pkg-plist
@@ -12,6 +12,9 @@ lib/%%SNAME%%/libnet.so
lib/%%SNAME%%/libnet.so.8
lib/libnet-%%VERSION%%.so
lib/libnet-%%VERSION%%.so.8
+man/man3/libnet-functions.h.3.gz
+man/man3/libnet-macros.h.3.gz
+man/man3/libnet.h.3.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/CONTRIB
%%PORTDOCS%%%%DOCSDIR%%/COPYING