mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
e1c4707bab
- move 1.0 obsoleted version to net/libnet10 net/libnet is latest Stable Version net/libnet is latest Beta Version - Fix all depended ports with a new DEPENDS scheme - While I'm here fix security/yersinia build on 4.x (getopt_long and ncurses issues) PR: ports/85519 (based on) Submitted by: Stas Yakovlev <stas.yakovlev_at_gmail.com>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# New ports collection makefile for: xipdump
|
|
# Date created: 17 Jun 2001
|
|
# Whom: UMENO Takashi <umeno@rr.iij4u.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xipdump
|
|
PORTVERSION= 1.5.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.lse.epita.fr/twiki/pub/Projects/XipDump/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= umeno@rr.iij4u.or.jp
|
|
COMMENT= Displays ip packets using X window
|
|
|
|
BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10
|
|
|
|
USE_X_PREFIX= yes
|
|
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet-config
|
|
CFLAGS+= `${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines`
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LIBS= `${LIBNET_CONFIG} --libs`
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${LIBS}"
|
|
|
|
PLIST= ${WRKDIR}/PLIST
|
|
|
|
MAN8= xipdump.8
|
|
|
|
post-build:
|
|
@${CP} ${PKGDIR}/pkg-plist ${PLIST}
|
|
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d | \
|
|
${SED} -e 's|^|share/xipdump/|' >> ${PLIST})
|
|
@${ECHO_CMD} "@dirrm share/xipdump/pkt" >> ${PLIST}
|
|
@${ECHO_CMD} "@dirrm share/xipdump/pkc" >> ${PLIST}
|
|
@${ECHO_CMD} "@dirrm share/xipdump" >> ${PLIST}
|
|
|
|
.include <bsd.port.mk>
|