summaryrefslogtreecommitdiff
path: root/packaging/freebsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/freebsd/Makefile')
-rw-r--r--packaging/freebsd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/freebsd/Makefile b/packaging/freebsd/Makefile
index 1381ba4..2bdb283 100644
--- a/packaging/freebsd/Makefile
+++ b/packaging/freebsd/Makefile
@@ -31,6 +31,10 @@ MANCOMPRESSED= yes
MAKE_ARGS= ETCPREFIX=/usr/local MANPREFIX=/usr/local/man ETCSUFFIX=.sample
+# get rid of cruft after the patching:
+post-patch:
+ find . -iname '*.orig' -delete
+
post-install:
@if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \
${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere.conf ; \