aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/gps/Makefile
blob: 4f67a9f65b8d71217c4092ef98a9f30366b138b6 (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
# ex:ts=8
# New ports collection makefile for:    gps
# Date created:         Nov 25, 2001
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   gps
PORTVERSION=    0.9.1
CATEGORIES= net
MASTER_SITES=   http://gps.sourceforge.net/release/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Ghost Port Scan

BUILD_DEPENDS=  ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet

USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  LIBS="-L${LOCALBASE}/lib"
USE_GMAKE=  yes

post-patch:
    @${REINPLACE_CMD} -e "s,-Wall -O3,${CFLAGS},g" ${WRKSRC}/configure

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    ${CP} ${WRKSRC}/docs/* ${DOCSDIR}
.endif

.include <bsd.port.mk>