diff --git a/astro/ptiger/Makefile b/astro/ptiger/Makefile index 3aa5f70205aa..562bb21dbfd1 100644 --- a/astro/ptiger/Makefile +++ b/astro/ptiger/Makefile @@ -1,24 +1,27 @@ PORTNAME= ptiger PORTVERSION= 2.2 PORTREVISION= 3 CATEGORIES= astro tk MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION} MAINTAINER= tcltk@FreeBSD.org COMMENT= Displays U.S. Census Bureau populated places on a map WWW= http://www.tkgeomap.org/ptiger.html +DEPRECATED= Depends on expired astro/tkgeomap +EXPIRATION_DATE=2023-11-30 + LIB_DEPENDS= libtkgeomap.so:astro/tkgeomap USES+= tk:run NO_BUILD= yes post-patch: @${REINPLACE_CMD} -Ee 's,\[pwd\],${DATADIR}/src,;s,(lines/|places/|src/),${DATADIR}/\1,g;s,wish,${WISH},' ${WRKSRC}/src/PTiger.tcl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/PTiger.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${MKDIR} ${STAGEDIR}${DATADIR} ${CP} -Rf ${WRKSRC}/lines ${WRKSRC}/places ${WRKSRC}/src ${STAGEDIR}${DATADIR} .include diff --git a/astro/xeartk/Makefile b/astro/xeartk/Makefile index ffe9a6c10558..19b063d5ab73 100644 --- a/astro/xeartk/Makefile +++ b/astro/xeartk/Makefile @@ -1,29 +1,32 @@ PORTNAME= xeartk PORTVERSION= 2.2 PORTREVISION= 3 CATEGORIES= astro tk MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Small demo for tkgeomap WWW= http://www.tkgeomap.org/xeartk.html +DEPRECATED= Depends on expired astro/tkgeomap +EXPIRATION_DATE=2023-11-30 + LIB_DEPENDS= libtkgeomap.so:astro/tkgeomap USES= tk:run NO_BUILD= yes NO_ARCH= yes DATA_FILES= README cities land.xdr rivers.xdr water.xdr PLIST_FILES= bin/${PORTNAME} \ ${DATA_FILES:S,^,%%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 ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DATA_FILES:S,^,${WRKSRC}/data/,} ${STAGEDIR}${DATADIR}/ .include