ade03ee4b3
PR: ports/50179 Submitted by: David Wolfskill <david@catwhisker.org>
63 lines
2.3 KiB
Makefile
63 lines
2.3 KiB
Makefile
# New ports collection makefile for: gpsman
|
|
# Date created: 26 November 2001
|
|
# Whom: David Wolfskill
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gpsman
|
|
PORTVERSION= 6.0.1
|
|
CATEGORIES= astro tk83
|
|
MASTER_SITES= http://www.ncc.up.pt/gpsman/gpsmanhtml/ \
|
|
http://www.ncc.up.pt/~mig/ \
|
|
${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= science/cartography
|
|
# This is ugly; sorry.
|
|
DISTNAME= ${PORTNAME}_FreeBSD-${PORTVERSION}
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= david@catwhisker.org
|
|
COMMENT= A Tcl/Tk-based GPS management utility
|
|
|
|
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
|
|
|
USE_REINPLACE= yes
|
|
NO_BUILD= yes
|
|
|
|
# MAN1= gpsman.1
|
|
# MANCOMPRESSED= yes
|
|
|
|
pre-install:
|
|
@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/share/gpsman
|
|
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc
|
|
${INSTALL_DATA} ${WRKSRC}/gmsrc/*.tcl ${PREFIX}/share/gpsman/gmsrc
|
|
@${MKDIR} ${PREFIX}/share/gpsman/gmsrc/gmicons
|
|
${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${PREFIX}/share/gpsman/gmsrc/gmicons
|
|
@${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
|
|
${INSTALL_DATA} ${WRKSRC}/manual/*.ps ${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>
|