aboutsummaryrefslogtreecommitdiff
path: root/astro/gpsman/Makefile
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-04-30 21:22:11 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-04-30 21:22:11 +0000
commit9abe0c3b13a4b4a23befe6622db8fee870accd45 (patch)
treed1a316df90071453b9e2f7b1fdff19b5ac7f795c /astro/gpsman/Makefile
parent4ac71759287872183814bf71e85eb21f718f1f45 (diff)
downloadports-9abe0c3b13a4b4a23befe6622db8fee870accd45.tar.gz
ports-9abe0c3b13a4b4a23befe6622db8fee870accd45.zip
Notes
Diffstat (limited to 'astro/gpsman/Makefile')
-rw-r--r--astro/gpsman/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/astro/gpsman/Makefile b/astro/gpsman/Makefile
index 2469c7dca7f0..42268a1c4d78 100644
--- a/astro/gpsman/Makefile
+++ b/astro/gpsman/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gpsman
-PORTVERSION= 6.4.2
+PORTVERSION= 6.4.3
CATEGORIES= astro tk geography
MASTER_SITES= SF/${PORTNAME}/distrib
EXTRACT_SUFX= .tgz
@@ -18,7 +18,11 @@ COMMENT= A Tcl/Tk-based GPS management utility
USE_TK_RUN= 84
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+SUB_FILES= pkg-message
NO_BUILD= yes
+PORTDOCS= *
+PORTDATA= *
+PLIST_FILES= bin/gpsman
# MAN1= gpsman.1
# MANCOMPRESSED= yes
@@ -39,30 +43,26 @@ 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}/gmsrc/*.tcl ${PREFIX}/share/gpsman/gmsrc
+ ${INSTALL_DATA} ${WRKSRC}/gmsrc/gmicons/* ${PREFIX}/share/gpsman/gmsrc/gmicons
${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
+ @${MKDIR} ${PREFIX}/share/doc/gpsman/html/info
${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
- ${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.ps ${PREFIX}/share/doc/gpsman/html/info
- @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" pkg-message
+.for i in gif txt ps
+ ${INSTALL_DATA} ${WRKSRC}/manual/html/info/*.${i} ${PREFIX}/share/doc/gpsman/html/info
+.endfor
+ @${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>