aboutsummaryrefslogtreecommitdiffstats
path: root/net/geotrace/Makefile
blob: df6642efd56803ac0ccd4c73bb9bbd3603472872 (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
# ex:ts=8
# New ports collection makefile for:    geotrace
# Date created:         Apr 19, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   geotrace
PORTVERSION=    0.0.4
PORTREVISION=   1
CATEGORIES= net gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ijliao@FreeBSD.org

USE_GNOMECTRL=  yes

post-patch:
    @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/prefs.h

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/geotrace ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/etc/maps
    ${CP} -R ${WRKSRC}/maps/ ${PREFIX}/etc/maps

.include <bsd.port.mk>