Fix 1 typo in pkg-install and chang Makefile to actually do the
subistution of SUBDIR and not BINDIR. But PORTREVISION
This commit is contained in:
parent
745a22c0d4
commit
630b50f357
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37692
2 changed files with 4 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue