summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-03-30 13:42:35 +0000
committerosa <osa@FreeBSD.org>2004-03-30 13:42:35 +0000
commit16e5001ae74cf1dea04cb7c0123a414e1dd5e475 (patch)
tree70ff47bd9207ec665e6746a2132b18364ce830ef
parent4c21bfcd71040b73680c4bff4bef70d4555bf2ac (diff)
downloadFreeBSD-ports-16e5001ae74cf1dea04cb7c0123a414e1dd5e475.zip
FreeBSD-ports-16e5001ae74cf1dea04cb7c0123a414e1dd5e475.tar.gz
Add bash to RUN_DEPENDS list.
Use REINPLACE_CMD for correct path to bash.
-rw-r--r--mail/biabam/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/mail/biabam/Makefile b/mail/biabam/Makefile
index f5227b9..24f08f7 100644
--- a/mail/biabam/Makefile
+++ b/mail/biabam/Makefile
@@ -5,16 +5,23 @@
# $FreeBSD$
#
-PORTNAME= biabam
-PORTVERSION= 0.9.5
-CATEGORIES= mail
-MASTER_SITES= http://mmj.dk/biabam/
+PORTNAME= biabam
+PORTVERSION= 0.9.5
+CATEGORIES= mail
+MASTER_SITES= http://mmj.dk/biabam/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A command-line attachment mailer
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A command-line attachment mailer
-NO_BUILD= yes
-PLIST_FILES= bin/biabam
+RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2
+
+USE_REINPLACE= yes
+NO_BUILD= yes
+PLIST_FILES= bin/biabam
+
+do-patch:
+ @${REINPLACE_CMD} -e 's|\(#!\)\(/bin/bash\)|\1${LOCALBASE}\2|' \
+ ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/biabam ${PREFIX}/bin
OpenPOWER on IntegriCloud