aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2001-01-29 03:48:30 +0800
committerjeh <jeh@FreeBSD.org>2001-01-29 03:48:30 +0800
commit4a93be3f45c9419aa264c4f447e668635b3fb8fb (patch)
tree4aea1894c5b362d15eb4d22b8e51dc5358f34dce
parentd697cf5867295e697feeb685dfb69f2f93c35b28 (diff)
downloadfreebsd-ports-gnome-4a93be3f45c9419aa264c4f447e668635b3fb8fb.tar.gz
freebsd-ports-gnome-4a93be3f45c9419aa264c4f447e668635b3fb8fb.tar.zst
freebsd-ports-gnome-4a93be3f45c9419aa264c4f447e668635b3fb8fb.zip
Fix 1 typo in pkg-install and chang Makefile to actually do the
subistution of SUBDIR and not BINDIR. But PORTREVISION
-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"