aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-08-04 20:57:34 +0800
committerarved <arved@FreeBSD.org>2003-08-04 20:57:34 +0800
commit7feba39bf5029a098289a7ec34e49b4262391f34 (patch)
tree161fc1a265a3e6e7f0b97a66627200b7ab14f3a5 /misc
parent13a768d605dd95c1c389daf9526f6316c5c4bfb8 (diff)
downloadfreebsd-ports-gnome-7feba39bf5029a098289a7ec34e49b4262391f34.tar.gz
freebsd-ports-gnome-7feba39bf5029a098289a7ec34e49b4262391f34.tar.zst
freebsd-ports-gnome-7feba39bf5029a098289a7ec34e49b4262391f34.zip
Move configurationfile from /etc to ${PREFIX}/etc.
Corected also shell from /bin/bash to /bin/sh PR: 53565 Submitted by: Krzysztof Stryjek <wtp@mud.pl>
Diffstat (limited to 'misc')
-rw-r--r--misc/pl-sms/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/pl-sms/Makefile b/misc/pl-sms/Makefile
index dd714485edd4..5aec5f917076 100644
--- a/misc/pl-sms/Makefile
+++ b/misc/pl-sms/Makefile
@@ -18,11 +18,20 @@ LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
WRKSRC= ${WRKDIR}/sms
USE_GMAKE= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= # empty
MAKE_ARGS= CXX="${CXX}"
.if defined(NOPORTDOCS)
MAKE_ARGS+= NOPORTDOCS=1
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's,/etc/smsrc,${PREFIX}/etc/smsrc,' \
+ ${WRKSRC}/sms.h \
+ ${WRKSRC}/README.smsrc
+ @${REINPLACE_CMD} -e 's,bash,sh,' \
+ ${WRKSRC}/contrib/sms-conf
+
post-install:
${STRIP_CMD} ${PREFIX}/bin/sms