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

PORTNAME=   gps
PORTVERSION=    0.9.3
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://gps.sourceforge.net/release/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-FRC

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>