- Fix another /bin/bash case

- Trim Makefile header

Feature safe:	yes
This commit is contained in:
Pawel Pekala 2012-10-28 12:02:49 +00:00
parent 6180de4a8d
commit c882dea444
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306548

View file

@ -1,12 +1,9 @@
# Ports collection makefile for: kadu
# Date created: 17 July 2003
# Whom: Jacek Pelka <jacek@combit.com.pl>
#
# Created by: Jacek Pelka <jacek@combit.com.pl>
# $FreeBSD$
#
PORTNAME= kadu
PORTVERSION= 0.12.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= polish net-im
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/:kadu \
@ -82,6 +79,8 @@ post-patch:
${WRKSRC}/plugins/tabs/CMakeLists.txt
@${FIND} ${WRKSRC} -exec ${GREP} -q "#!/bin/bash" {} \; \
-exec ${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|g' {} \;
@${REINPLACE_CMD} 's|/bin/bash|${LOCALBASE}/bin/bash|' \
${WRKSRC}/plugins/sql_history/storage/sql-restore.cpp
post-install:
.if ${PORT_OPTIONS:MGG_EMOTS}