svn commit: r327954 - head/astro/xeartk
Pietro Cerutti
gahr at FreeBSD.org
Mon Sep 23 09:09:09 UTC 2013
Author: gahr
Date: Mon Sep 23 09:09:09 2013
New Revision: 327954
URL: http://svnweb.freebsd.org/changeset/ports/327954
Log:
- Convert to USES+=tcl
- Convert to new LIB_DEPENDS format
- Fix a format bug in the cities file
Modified:
head/astro/xeartk/Makefile
Modified: head/astro/xeartk/Makefile
==============================================================================
--- head/astro/xeartk/Makefile Mon Sep 23 08:46:16 2013 (r327953)
+++ head/astro/xeartk/Makefile Mon Sep 23 09:09:09 2013 (r327954)
@@ -10,10 +10,10 @@ MASTER_SITES= SF/tkgeomap/${PORTNAME}/${
MAINTAINER= ports at FreeBSD.org
COMMENT= Small demo for tkgeomap
-LIB_DEPENDS= tkgeomap.0:${PORTSDIR}/astro/tkgeomap
+LIB_DEPENDS= libtkgeomap.so:${PORTSDIR}/astro/tkgeomap
NO_STAGE= yes
-USE_TK_RUN= yes
+USES+= tk:run
NO_BUILD= yes
DATA_FILES= README cities land.xdr rivers.xdr water.xdr
PLIST_FILES= bin/${PORTNAME} ${DATA_FILES:S,^,%%DATADIR%%/,}
@@ -21,6 +21,7 @@ PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's,data/,${DATADIR}/,g;s,wish,${WISH},' ${WRKSRC}/src/XEartk.tcl
+ @${REINPLACE_CMD} -e 's| 0\([0-9]\)| \1|g' ${WRKSRC}/data/cities
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/src/XEartk.tcl ${PREFIX}/bin/${PORTNAME}
More information about the svn-ports-head
mailing list