aboutsummaryrefslogtreecommitdiff
path: root/net/gps/Makefile
blob: 37d6a4c40988c513fbd5cd2a6b9ef848c06872fe (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
# 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

PORTCOMMENT=	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>