From 7feba39bf5029a098289a7ec34e49b4262391f34 Mon Sep 17 00:00:00 2001 From: arved Date: Mon, 4 Aug 2003 12:57:34 +0000 Subject: Move configurationfile from /etc to ${PREFIX}/etc. Corected also shell from /bin/bash to /bin/sh PR: 53565 Submitted by: Krzysztof Stryjek --- misc/pl-sms/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'misc') 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 -- cgit