aboutsummaryrefslogtreecommitdiff
path: root/astro/roadmap
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-03 16:40:01 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-03 16:40:01 +0000
commit9a916c15d6e65524687f9a9b3a414140d65d139f (patch)
treead7500f629b5fab17cb36997168799561b1d242f /astro/roadmap
parentf623c8be909ec082ff0e1e0020c77ff683c0fde5 (diff)
downloadports-9a916c15d6e65524687f9a9b3a414140d65d139f.tar.gz
ports-9a916c15d6e65524687f9a9b3a414140d65d139f.zip
Notes
Diffstat (limited to 'astro/roadmap')
-rw-r--r--astro/roadmap/Makefile31
1 files changed, 15 insertions, 16 deletions
diff --git a/astro/roadmap/Makefile b/astro/roadmap/Makefile
index 0a51234a101b..7415be6b49c0 100644
--- a/astro/roadmap/Makefile
+++ b/astro/roadmap/Makefile
@@ -19,17 +19,16 @@ INSTALL_WRKSRC= ${WRKSRC}/src
MAKE_JOBS_UNSAFE= yes
-NO_STAGE= yes
USES= gmake pkgconfig
USE_GNOME= gtk20
MAKE_ARGS= INSTALLDIR="${PREFIX}" CC="${CC}" CXX="${CXX}"
SUB_FILES= pkg-message
-MAN1= roadgps.1 roadmap.1
PORTDOCS= ${DOCS} README
PLIST_FILES= ${BINS:S,^,bin/,} ${GUI_BINS:S,^,bin/,} \
${GUI_BINS:S,^gtk,bin/,} ${SCRIPTS:S,^,bin/,} \
+ man/man1/roadgps.1.gz man/man1/roadmap.1.gz \
${DATA:S,^,%%DATADIR%%/,}
PLIST_DIRS= %%DATADIR%%
@@ -37,12 +36,15 @@ BINS= dumpmap buildmap buildmap_osm buildplace buildus
GUI_BINS= gtkroadmap gtkroadgps
SCRIPTS= rdmcompare rdmdownload rdmgendcwmaps rdmgenmaps \
rdmgenshpmaps rdmgenstatemaps
+MANS= roadgps.1 roadmap.1
DATA= drivers preferences roadmap.popup roadmap.screenobjects \
session sprites
DOCS= Bugs ChangeLog Coding Configuration Developer-Guide \
Installation Map-Building Map-Designing Map-Format \
OpenStreetMap Platforms Quickstart Status ToDo Usage
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
post-patch:
@@ -53,31 +55,28 @@ post-patch:
do-install:
.for _BIN in ${BINS}
- ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${_BIN} ${PREFIX}/bin/${_BIN}
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${_BIN} ${STAGEDIR}${PREFIX}/bin/${_BIN}
.endfor
.for _GUI_BIN in ${GUI_BINS}
- ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gtk2/${_GUI_BIN} ${PREFIX}/bin/${_GUI_BIN}
- ${LN} -sf ${_GUI_BIN} ${PREFIX}/bin/${_GUI_BIN:S,^gtk,,}
+ ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gtk2/${_GUI_BIN} ${STAGEDIR}${PREFIX}/bin/${_GUI_BIN}
+ ${LN} -sf ${_GUI_BIN} ${STAGEDIR}${PREFIX}/bin/${_GUI_BIN:S,^gtk,,}
.endfor
.for _SCRIPT in ${SCRIPTS}
- ${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${_SCRIPT} ${PREFIX}/bin/${_SCRIPT}
+ ${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${_SCRIPT} ${STAGEDIR}${PREFIX}/bin/${_SCRIPT}
.endfor
-.for _MAN in ${MAN1}
- ${INSTALL_MAN} ${INSTALL_WRKSRC}/${_MAN} ${MANPREFIX}/man/man1/${_MAN}
+.for _MAN in ${MANS}
+ ${INSTALL_MAN} ${INSTALL_WRKSRC}/${_MAN} ${STAGEDIR}${MANPREFIX}/man/man1/${_MAN}
.endfor
- @${MKDIR} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for _DATA in ${DATA}
- ${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${DATADIR}/${_DATA}
+ ${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${STAGEDIR}${DATADIR}/${_DATA}
.endfor
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
.for _DOC in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${_DOC} ${DOCSDIR}/${_DOC}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${_DOC} ${STAGEDIR}${DOCSDIR}/${_DOC}
.endfor
.endif
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>