From 4a93be3f45c9419aa264c4f447e668635b3fb8fb Mon Sep 17 00:00:00 2001 From: jeh Date: Sun, 28 Jan 2001 19:48:30 +0000 Subject: Fix 1 typo in pkg-install and chang Makefile to actually do the subistution of SUBDIR and not BINDIR. But PORTREVISION --- astro/setiathome/Makefile | 13 +++---------- astro/setiathome/pkg-install | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/astro/setiathome/Makefile b/astro/setiathome/Makefile index 8f774ef74301..4816fce6c829 100644 --- a/astro/setiathome/Makefile +++ b/astro/setiathome/Makefile @@ -6,7 +6,7 @@ PORTNAME= setiathome PORTVERSION= 3.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro MASTER_SITES= ftp://ftp.cdrom.com/pub/setiathome/ \ ftp://alien.ssl.berkeley.edu/pub/ \ @@ -36,7 +36,7 @@ NO_CDROM= "interactive install" BROKEN= "currently supports only FreeBSD 2.2.6 and above" .endif -EXTRACT_CMD= cat +EXTRACT_CMD= ${CAT} EXTRACT_BEFORE_ARGS= STRIP= # aout is already stripped SCRIPTS_ENV+= PKG_PREFIX=${PREFIX} @@ -73,19 +73,12 @@ XPROG+= x${PORTNAME} MAN1+= x${PORTNAME}.1 .endif -# -# Post-extract -# - -post-extract: - @${CP} ${FILESDIR}/${SCRIPT} ${WRKSRC} - # # Post-configure # post-configure: - @${PERL} -pi.fbsd -e 's.!!BINDIR!!.${SBINSUBDIR}.g' ${WRKSRC}/${SCRIPT} + @${SED} -e 's.!!SUBDIR!!.${SBINSUBDIR}.g' ${FILESDIR}/${SCRIPT} > ${WRKSRC}/${SCRIPT} # # Install diff --git a/astro/setiathome/pkg-install b/astro/setiathome/pkg-install index e1476f1a64c9..a73296cfb9ef 100644 --- a/astro/setiathome/pkg-install +++ b/astro/setiathome/pkg-install @@ -54,7 +54,7 @@ case $2 in echo "unable to start setiathome: it seems registration or login failed." exit 0 fi - ${seti_rcdir}/{seti_script} start >/dev/null + ${seti_rcdir}/${seti_script} start >/dev/null echo echo "**** Congratulations! Your system now participates in the search for extra-" echo " terrestrial intelligence. Be sure to visit the home page at" -- cgit