summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2001-01-28 19:48:30 +0000
committerJames E. Housley <jeh@FreeBSD.org>2001-01-28 19:48:30 +0000
commit630b50f357d0009697cc3a63202d769f2afb9efa (patch)
tree3791cbc40b1826b34296e8587986683a7ab0b01b
parentActually commit the new distinfo. (diff)
Fix 1 typo in pkg-install and chang Makefile to actually do the
subistution of SUBDIR and not BINDIR. But PORTREVISION
Notes
Notes: svn path=/head/; revision=37692
-rw-r--r--astro/setiathome/Makefile13
-rw-r--r--astro/setiathome/pkg-install2
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}
@@ -74,18 +74,11 @@ 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"