mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Convert to USES+=tcl
- Convert to new LIB_DEPENDS format - Fix a format bug in the cities file
This commit is contained in:
parent
8136268ae5
commit
d00c2719e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327954
@ -10,10 +10,10 @@ MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION}
|
||||
MAINTAINER= ports@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}
|
||||
|
Loading…
Reference in New Issue
Block a user