aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/gps/Makefile
blob: 0a08910782c55630608275fc6daeab78e374b463 (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
# 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

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>