aboutsummaryrefslogtreecommitdiffstats
path: root/astro/roadmap/Makefile
blob: b3eeb78fae1035986ba327e7d286a63cc2603be2 (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
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:  roadmap
# Date created:        4 November 2002
# Whom:                Nick Esborn <nick@netdot.net>
#
# $FreeBSD$
#

PORTNAME=   roadmap
PORTVERSION=    0.6
CATEGORIES= astro
MASTER_SITES=   http://www.geocities.com/pascal_f_martin/roadmap/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   ${PORTNAME}_0_6_src
EXTRACT_SUFX=   .tgz

MAINTAINER= nick@netdot.net
COMMENT=    RoadMap is a displays US maps provided by the US Census Bureau

LIB_DEPENDS=    popt.0:${PORTSDIR}/devel/popt

WRKSRC=     ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC=   ${WRKSRC}/src

USE_GNOMENG=    yes
USE_GNOME=  gtk12

BINARIES=   buildmap buildus dumpmap roadmap roadgps
DOCS=       AUTHORS BUGS COPYING README TODO
DOCDIR=     ${PREFIX}/share/doc/${PORTNAME}

do-install:
.for bin in ${BINARIES}
    $(INSTALL_PROGRAM) ${BUILD_WRKSRC}/${bin} ${LOCALBASE}/bin
.endfor
    ${MKDIR} ${PREFIX}/share/roadmap

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCDIR}
.for doc in ${DOCS}
    ${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCDIR}
.endfor
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>