diff options
Diffstat (limited to 'net/libnet10/Makefile')
-rw-r--r-- | net/libnet10/Makefile | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/net/libnet10/Makefile b/net/libnet10/Makefile index 175ccfeca713..84bd9f37c0d4 100644 --- a/net/libnet10/Makefile +++ b/net/libnet10/Makefile @@ -7,7 +7,7 @@ PORTNAME= libnet PORTVERSION= 1.0.2a -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://www.packetfactory.net/libnet/dist/ @@ -16,28 +16,24 @@ PKGNAMESUFFIX= 10 MAINTAINER= shipley@dis.org COMMENT= A C library for creating IP packets -CONFLICTS= libnet-devel-1.1.*\ - libnet-1.1.* - -USE_AUTOTOOLS= autoconf:213 - +USE_AUTOTOOLS= autoconf:259 WRKSRC= ${WRKDIR}/Libnet-${PORTVERSION} -MAN3= libnet.3 +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +MAN3= libnet${PKGNAMESUFFIX}.3 post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 ${PREFIX}/man/man3 + ${INSTALL_MAN} ${WRKSRC}/doc/libnet.3 \ + ${MANPREFIX}/man/man3/libnet${PKGNAMESUFFIX}.3 .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/libnet - @${MKDIR} ${PREFIX}/share/doc/libnet/examples - @${MKDIR} ${PREFIX}/share/doc/libnet/ancillary + @${MKDIR} ${DOCSDIR}/ancillary ${DOCSDIR}/examples .for i in CHANGELOG CHANGELOG-NEWFUNCTIONS COPYING README TODO-1.0 TODO-1.1 - ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libnet + ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR} .endfor .for i in README.asn.1 README.bpf README.legacy-applications README.libnet-config README.linux README.rawsockets - ${INSTALL_DATA} ${WRKSRC}/doc/Ancillary/${i} ${PREFIX}/share/doc/libnet/ancillary + ${INSTALL_DATA} ${WRKSRC}/doc/Ancillary/${i} ${DOCSDIR}/ancillary .endfor .for i in libnet-example-1.c libnet-example-2.c libnet-example-3.c libnet-example-4.c - ${INSTALL_DATA} ${WRKSRC}/example/${i} ${PREFIX}/share/doc/libnet/examples + ${INSTALL_DATA} ${WRKSRC}/example/${i} ${DOCSDIR}/examples .endfor .endif |