blob: a21182bc1f7c2e69eb772c74195481451b9cac36 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# New ports collection makefile for: RoadMap
# Date created: 4 November 2002
# Whom: Nick Esborn <nick@netdot.net>
#
# $FreeBSD$
#
PORTNAME= roadmap
PORTVERSION= 1.0.6
PORTREVISION= 3
CATEGORIES= astro
MASTER_SITES= http://roadmap.digitalomaha.net/roadmap/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.r/rc/:S/./_/g}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= Vector-based GPS moving map
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
sqlite.2:${PORTSDIR}/databases/sqlite2
WRKSRC= ${WRKDIR}/${PORTNAME}
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/src
USE_GNOME= gtk12
USE_GMAKE= yes
USE_X_PREFIX= yes
BINS= buildmap buildus dumpmap
GUI_BINS= gtkroadmap gtkroadgps
SCRIPTS= rdmdownload rdmgetall rdmgenmaps rdmcompare
DATA= sprites preferences schema
PORTDOCS= AUTHORS BUGS README TODO
SUB_FILES+= pkg-message
post-patch:
@${REINPLACE_CMD} -e '150s,static ,, ; 423s,static ,,' \
${WRKSRC}/src/roadmap_download.c
do-install:
.for _GUI_BIN in ${GUI_BINS}
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gtk/${_GUI_BIN} ${PREFIX}/bin/${_GUI_BIN}
.endfor
.for _BIN in ${BINS}
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${_BIN} ${PREFIX}/bin/${_BIN}
.endfor
.for _SCRIPT in ${SCRIPTS}
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${_SCRIPT} ${PREFIX}/bin/${_BIN}
.endfor
@${MKDIR} ${DATADIR}
.for _DATA in ${DATA}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${DATADIR}/${_DATA}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for _DOC in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${_DOC} ${DOCSDIR}/${_DOC}
.endfor
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|