summaryrefslogtreecommitdiff
path: root/astro/setiathome/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-06-06 03:54:29 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-06-06 03:54:29 +0000
commitd0b16dd26c7fd5fe98afad6f4ae749781501c56f (patch)
tree277687d403992c8a06b20ec5538cb27c2b0796ac /astro/setiathome/Makefile
parentrefine Makefile and patchfiles and make it compile smoothly on 4.x (diff)
- Fix handling if "local_startup" is not default
maintainer contacted 2003-06-01 - Fix handling of ps in startup script maintainer contacted 2003-06-03 Submitted by: jonc@mobiledatanow.com - Drop alpha for now, only new alpha binary is for OpenBSD. ELF 64-bit LSB executable, Alpha (unofficial), version 1 (SYSV), for OpenBSD, dynamically linked (uses shared libs), stripped tested on beast: ELF binary type "0" not known.
Diffstat (limited to 'astro/setiathome/Makefile')
-rw-r--r--astro/setiathome/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/astro/setiathome/Makefile b/astro/setiathome/Makefile
index 785e32430deb..30a77327a7ad 100644
--- a/astro/setiathome/Makefile
+++ b/astro/setiathome/Makefile
@@ -6,6 +6,7 @@
PORTNAME= setiathome
PORTVERSION?= 3.08
+PORTREVISION?= 2
CATEGORIES?= astro
MASTER_SITES= ftp://ftp.cdrom.com/pub/setiathome/ \
ftp://alien.ssl.berkeley.edu/pub/
@@ -24,7 +25,7 @@ COMMENT?= Donate idle cycles to the search for space aliens
IS_INTERACTIVE= yes
.endif
-ONLY_FOR_ARCHS?= alpha i386
+ONLY_FOR_ARCHS?= i386
NO_BUILD= binary distribution
NO_CDROM= interactive install
@@ -105,6 +106,11 @@ X11PORTS=
X11PORTS= "@comment "
.endif
+
+post-extract:
+ @${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/setiathome.sh \
+ > ${WRKSRC}/setiathome.sh
+
# Post-patch
#
@@ -168,7 +174,7 @@ install-startup-files:
-@${CHMOD} -x ${RC_DIR}/*${file}*.sh 2> /dev/null
.endif
.if exists(${FILESDIR}/${file}.sh)
- @${INSTALL_SCRIPT} ${FILESDIR}/${file}.sh \
+ @${INSTALL_SCRIPT} ${WRKSRC}/${file}.sh \
${RC_DIR}/${PKGNAMEPREFIX}${file}${PKGNAMESUFFIX}.sh
.endif
.if exists(${FILESDIR}/${file}.bin)