blob: 95941bee63fb3d1dfa87843c70b108ddfd698078 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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
CATEGORIES= net
MASTER_SITES= http://etud.epita.fr:8000/~lse/recherche/xipdump/
EXTRACT_SUFX= .tgz
MAINTAINER= umeno@rr.iij4u.or.jp
COMMENT= Displays ip packets using X window
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
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>
|