2001-12-23 10:34:44 +00:00
|
|
|
# New ports collection makefile for: gpsman
|
|
|
|
# Date created: 26 November 2001
|
|
|
|
# Whom: David Wolfskill
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gpsman
|
2004-12-13 07:25:50 +00:00
|
|
|
PORTVERSION= 6.2.1
|
2003-10-12 00:55:05 +00:00
|
|
|
CATEGORIES= astro tk84
|
2004-06-16 15:08:50 +00:00
|
|
|
MASTER_SITES= http://www.ncc.up.pt/gpsman/gpsmanhtml/ \
|
2004-11-16 17:08:10 +00:00
|
|
|
http://voodoo.oberon.net/download/ \
|
2004-06-16 15:08:50 +00:00
|
|
|
${MASTER_SITE_SUNSITE} \
|
2001-12-23 10:34:44 +00:00
|
|
|
MASTER_SITE_SUBDIR= science/cartography
|
2002-02-10 09:46:09 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2001-12-23 10:34:44 +00:00
|
|
|
|
|
|
|
MAINTAINER= david@catwhisker.org
|
2003-02-21 10:44:59 +00:00
|
|
|
COMMENT= A Tcl/Tk-based GPS management utility
|
2001-12-23 10:34:44 +00:00
|
|
|
|
2003-10-12 00:55:05 +00:00
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
2001-12-23 10:34:44 +00:00
|
|
|
|
2003-10-26 23:14:46 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2003-01-21 20:14:45 +00:00
|
|
|
USE_REINPLACE= yes
|
2001-12-23 10:34:44 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
# MAN1= gpsman.1
|
|
|
|
# MANCOMPRESSED= yes
|
|
|
|
|
|
|
|
pre-install:
|
2003-01-21 20:14:45 +00:00
|
|
|
@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
|
2001-12-23 10:34:44 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/gpsman
|
|
|
|
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${PREFIX}/share/gpsman/gmsrc
|
2002-02-10 09:46:09 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc/gmicons
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${PREFIX}/share/gpsman/gmsrc/gmicons
|
2001-12-23 10:34:44 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/gpsman/util
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/util/*.sh ${PREFIX}/share/gpsman/util
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/util/*.tcl ${PREFIX}/share/gpsman/util
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gpsman.tcl ${PREFIX}/share/gpsman
|
|
|
|
${LN} -fs ${PREFIX}/share/gpsman/gpsman.tcl ${PREFIX}/bin/gpsman
|
|
|
|
# ${INSTALL_MAN} ${WRKSRC}/gpsman.1 ${PREFIX}/man/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gpsman
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${PREFIX}/share/doc/gpsman
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gpsman/html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual/html/*.html ${PREFIX}/share/doc/gpsman/html
|
|
|
|
${RM} ${PREFIX}/share/doc/gpsman/html/index.html
|
|
|
|
${LN} ${PREFIX}/share/doc/gpsman/html/GPSMandoc.html ${PREFIX}/share/doc/gpsman/html/index.html
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual/html/*.gif ${PREFIX}/share/doc/gpsman/html
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gpsman/html/info
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.gif ${PREFIX}/share/doc/gpsman/html/info
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.txt ${PREFIX}/share/doc/gpsman/html/info
|
|
|
|
${RM} ${PREFIX}/share/doc/gpsman/html/info/GPL.txt
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.ps ${PREFIX}/share/doc/gpsman/html/info
|
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" pkg-message
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|