Lines 6-46
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= roadmap |
8 |
PORTNAME= roadmap |
9 |
PORTVERSION= 0.6 |
9 |
PORTVERSION= 0.13 |
10 |
CATEGORIES= astro |
10 |
CATEGORIES= astro |
|
|
11 |
|
12 |
MAINTAINER= nick@netdot.net |
13 |
COMMENT= Vector-based GPS moving map |
14 |
|
11 |
MASTER_SITES= http://www.geocities.com/pascal_f_martin/roadmap/ |
15 |
MASTER_SITES= http://www.geocities.com/pascal_f_martin/roadmap/ |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
16 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
DISTNAME= ${PORTNAME}_0_6_src |
17 |
DISTNAME= ${PORTNAME}_0_13_src |
14 |
EXTRACT_SUFX= .tgz |
18 |
EXTRACT_SUFX= .tgz |
15 |
|
19 |
|
16 |
MAINTAINER= nick@netdot.net |
|
|
17 |
|
18 |
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt |
20 |
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt |
19 |
|
21 |
|
20 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
22 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
21 |
BUILD_WRKSRC= ${WRKSRC}/src |
23 |
BUILD_WRKSRC= ${WRKSRC}/src/gtk |
|
|
24 |
INSTALL_WRKSRC= ${WRKSRC}/src |
22 |
|
25 |
|
23 |
USE_GNOMENG= yes |
26 |
USE_GNOMENG= yes |
24 |
USE_GNOME= gtk12 |
27 |
USE_GNOME= gtk12 |
25 |
|
28 |
|
26 |
BINARIES= buildmap buildus dumpmap roadmap roadgps |
29 |
BINS= buildmap buildus dumpmap |
|
|
30 |
GUI_BINS= gtkroadmap gtkroadgps |
31 |
SCRIPTS= rdmdownload rdmgetall rdmgenmaps rdmcompare |
32 |
DATA= sprites preferences schema |
27 |
DOCS= AUTHORS BUGS COPYING README TODO |
33 |
DOCS= AUTHORS BUGS COPYING README TODO |
28 |
DOCDIR= ${PREFIX}/share/doc/${PORTNAME} |
|
|
29 |
|
34 |
|
30 |
do-install: |
35 |
do-install: |
31 |
.for bin in ${BINARIES} |
36 |
.for _GUI_BIN in ${GUI_BINS} |
32 |
$(INSTALL_PROGRAM) ${BUILD_WRKSRC}/${bin} ${LOCALBASE}/bin |
37 |
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gtk/${_GUI_BIN} ${X11BASE}/bin/${_GUI_BIN} |
|
|
38 |
.endfor |
39 |
.for _BIN in ${BINS} |
40 |
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${_BIN} ${LOCALBASE}/bin/${_BIN} |
41 |
.endfor |
42 |
.for _SCRIPT in ${SCRIPTS} |
43 |
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${_SCRIPT} ${LOCALBASE}/bin/${_BIN} |
44 |
.endfor |
45 |
${MKDIR} ${DATADIR} |
46 |
.for _DATA in ${DATA} |
47 |
${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${DATADIR}/${_DATA} |
33 |
.endfor |
48 |
.endfor |
34 |
${MKDIR} ${PREFIX}/share/roadmap |
|
|
35 |
|
36 |
.if !defined(NOPORTDOCS) |
49 |
.if !defined(NOPORTDOCS) |
37 |
${MKDIR} ${DOCDIR} |
50 |
${MKDIR} ${DOCSDIR} |
38 |
.for doc in ${DOCS} |
51 |
.for _DOC in ${DOCS} |
39 |
${INSTALL_MAN} ${WRKSRC}/${doc} ${DOCDIR} |
52 |
${INSTALL_DATA} ${WRKSRC}/${_DOC} ${DOCSDIR}/${_DOC} |
40 |
.endfor |
53 |
.endfor |
41 |
.endif |
54 |
.endif |
42 |
|
55 |
|
43 |
post-install: |
56 |
post-install: |
44 |
@${CAT} ${PKGMESSAGE} |
57 |
@${SED} -e "s|%%DOCSDIR%%|${DOCSDIR}|" ${PKGMESSAGE} |
45 |
|
58 |
|
46 |
.include <bsd.port.mk> |
59 |
.include <bsd.port.mk> |