2003-01-30 21:15:10 +00:00
|
|
|
# New ports collection makefile for: roadmap
|
|
|
|
# Date created: 4 November 2002
|
|
|
|
# Whom: Nick Esborn <nick@netdot.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= roadmap
|
2003-03-23 13:37:34 +00:00
|
|
|
PORTVERSION= 0.14
|
2003-01-30 21:15:10 +00:00
|
|
|
CATEGORIES= astro
|
2003-03-23 13:37:34 +00:00
|
|
|
MASTER_SITES= http://roadmap.saignon.net/roadmap/
|
2003-01-30 21:15:10 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-03-01 08:47:40 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/}_src
|
2003-01-30 21:15:10 +00:00
|
|
|
|
|
|
|
MAINTAINER= nick@netdot.net
|
2003-03-23 13:37:34 +00:00
|
|
|
COMMENT= Vector-based GPS moving map
|
2003-01-30 21:15:10 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2003-03-01 08:47:40 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src/gtk
|
|
|
|
INSTALL_WRKSRC= ${WRKSRC}/src
|
2003-01-30 21:15:10 +00:00
|
|
|
|
|
|
|
USE_GNOME= gtk12
|
|
|
|
|
2003-03-01 08:47:40 +00:00
|
|
|
BINS= buildmap buildus dumpmap
|
|
|
|
GUI_BINS= gtkroadmap gtkroadgps
|
|
|
|
SCRIPTS= rdmdownload rdmgetall rdmgenmaps rdmcompare
|
|
|
|
DATA= sprites preferences schema
|
2003-01-30 21:15:10 +00:00
|
|
|
DOCS= AUTHORS BUGS COPYING README TODO
|
|
|
|
|
|
|
|
do-install:
|
2003-03-01 08:47:40 +00:00
|
|
|
.for _GUI_BIN in ${GUI_BINS}
|
|
|
|
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/gtk/${_GUI_BIN} ${X11BASE}/bin/${_GUI_BIN}
|
|
|
|
.endfor
|
|
|
|
.for _BIN in ${BINS}
|
|
|
|
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${_BIN} ${LOCALBASE}/bin/${_BIN}
|
|
|
|
.endfor
|
|
|
|
.for _SCRIPT in ${SCRIPTS}
|
|
|
|
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/${_SCRIPT} ${LOCALBASE}/bin/${_BIN}
|
|
|
|
.endfor
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
.for _DATA in ${DATA}
|
|
|
|
${INSTALL_DATA} ${INSTALL_WRKSRC}/${_DATA} ${DATADIR}/${_DATA}
|
2003-01-30 21:15:10 +00:00
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-03-01 08:47:40 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for _DOC in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${_DOC} ${DOCSDIR}/${_DOC}
|
2003-01-30 21:15:10 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2003-03-01 08:47:40 +00:00
|
|
|
@${SED} -e "s|%%DOCSDIR%%|${DOCSDIR}|" ${PKGMESSAGE}
|
2003-01-30 21:15:10 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|