blob: 7b42a827e138a74f8ccd65e4b9a27876a37414a5 (
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
|
# Created by: ijliao
# $FreeBSD$
PORTNAME= gps
PORTVERSION= 0.9.3
PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= http://www.bsd-geek.de/FreeBSD/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-FRC
MAINTAINER= lme@FreeBSD.org
COMMENT= Ghost Port Scan
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
GNU_CONFIGURE= yes
USES= gmake
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
post-patch:
@${REINPLACE_CMD} -e \
's|-Wall -O3|${CFLAGS}|; \
s|-lnet|`${LIBNET_CONFIG} --libs`|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e \
's|libnet-config|${LIBNET_CONFIG}|; \
s|--defines|& --cflags|' \
${WRKSRC}/Makefile.in
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
|