summaryrefslogtreecommitdiff
path: root/astro/setiathome/Makefile
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 /astro/setiathome/Makefile
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
Diffstat (limited to 'astro/setiathome/Makefile')
-rw-r--r--astro/setiathome/Makefile13
1 files changed, 3 insertions, 10 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