diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-14 15:38:39 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-14 15:38:39 +0000 |
commit | 02a5f6113a7b11ee8d31565c059b2e5c79f15c2a (patch) | |
tree | 4e66b449baf3aef3c5d54461b9ba1fab8a49b637 /net/libnet | |
parent | b69d9dc2cb9b042972209b6595ba20abc543f6b5 (diff) |
- Convert net/libnet to USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
Approved by: portmgr (implicit, bump unstaged port)
Notes
Notes:
svn path=/head/; revision=361791
Diffstat (limited to 'net/libnet')
-rw-r--r-- | net/libnet/Makefile | 13 | ||||
-rw-r--r-- | net/libnet/pkg-plist | 7 |
2 files changed, 8 insertions, 12 deletions
diff --git a/net/libnet/Makefile b/net/libnet/Makefile index a940f2243ccd..e97c7669458c 100644 --- a/net/libnet/Makefile +++ b/net/libnet/Makefile @@ -3,7 +3,7 @@ PORTNAME= libnet PORTVERSION= 1.1.6 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF/libnet-dev @@ -12,14 +12,12 @@ MASTER_SITE_SUBDIR= distfiles MAINTAINER= ports@FreeBSD.org COMMENT= C library for creating IP packets -LATEST_LINK= ${PORTNAME}${SHORT_VER} - -USE_AUTOTOOLS= libtool +USES= libtool USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CFLAGS+= -fPIC USE_CSTD= gnu89 +GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-link-layer=${LIBNET_LINK} +INSTALL_TARGET= install-strip SHORT_VER= 11 SHORT_NAME= ${PORTNAME}${SHORT_VER} @@ -60,8 +58,7 @@ post-patch: post-install: ${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 + ${LN} -sf ${SHORT_NAME}/libnet-${PORTVERSION}.so.1 .if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ diff --git a/net/libnet/pkg-plist b/net/libnet/pkg-plist index 1cf0189bd2ea..c0a5480442c3 100644 --- a/net/libnet/pkg-plist +++ b/net/libnet/pkg-plist @@ -7,11 +7,10 @@ include/%%SNAME%%/libnet/libnet-macros.h include/%%SNAME%%/libnet/libnet-structures.h include/%%SNAME%%/libnet/libnet-types.h lib/%%SNAME%%/libnet.a -lib/%%SNAME%%/libnet.la lib/%%SNAME%%/libnet.so -lib/%%SNAME%%/libnet.so.8 -lib/libnet-%%VERSION%%.so -lib/libnet-%%VERSION%%.so.8 +lib/%%SNAME%%/libnet.so.1 +lib/%%SNAME%%/libnet.so.1.7.0 +lib/libnet-%%VERSION%%.so.1 man/man3/libnet-functions.h.3.gz man/man3/libnet-macros.h.3.gz man/man3/libnet.h.3.gz |