aboutsummaryrefslogtreecommitdiff
path: root/editors/joe
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-09-26 10:17:01 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-09-26 10:17:01 +0000
commit622ee7ccab7eb3a79d12c4a5234ba110e3473b41 (patch)
treee7eec5c04a206aa5c2871be07db900f145cdc381 /editors/joe
parent9a68a598a698caea83be82e4c96d483329987c90 (diff)
downloadports-622ee7ccab7eb3a79d12c4a5234ba110e3473b41.tar.gz
ports-622ee7ccab7eb3a79d12c4a5234ba110e3473b41.zip
Notes
Diffstat (limited to 'editors/joe')
-rw-r--r--editors/joe/Makefile3
-rw-r--r--editors/joe/pkg-plist20
2 files changed, 7 insertions, 16 deletions
diff --git a/editors/joe/Makefile b/editors/joe/Makefile
index 8bce615d58c1..3622daf7216e 100644
--- a/editors/joe/Makefile
+++ b/editors/joe/Makefile
@@ -3,6 +3,7 @@
PORTNAME= joe
PORTVERSION= 4.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= editors
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION}
@@ -31,7 +32,7 @@ post-patch:
post-install:
for rc in jmacsrc joerc jpicorc jstarrc rjoerc; do \
- ${MV} ${STAGEDIR}${ETCDIR}/$${rc} ${STAGEDIR}${ETCDIR}/$${rc}.dist ; \
+ ${MV} ${STAGEDIR}${ETCDIR}/$${rc} ${STAGEDIR}${ETCDIR}/$${rc}.sample ; \
done
.include <bsd.port.mk>
diff --git a/editors/joe/pkg-plist b/editors/joe/pkg-plist
index 5fc73d94cb47..4fd561b4d99e 100644
--- a/editors/joe/pkg-plist
+++ b/editors/joe/pkg-plist
@@ -11,21 +11,11 @@ bin/termidx
%%PORTDOCS%%%%DOCSDIR%%/README.md
%%ETCDIR%%/ftyperc
%%ETCDIR%%/jicerc.ru
-@unexec if cmp -s %D/%%ETCDIR%%/jmacsrc.dist %D/%%ETCDIR%%/jmacsrc; then rm -f %D/%%ETCDIR%%/jmacsrc; fi
-%%ETCDIR%%/jmacsrc.dist
-@exec if [ ! -f %D/%%ETCDIR%%/jmacsrc ]; then cp %D/%%ETCDIR%%/%f %D/%%ETCDIR%%/jmacsrc; fi
-@unexec if cmp -s %D/%%ETCDIR%%/joerc.dist %D/%%ETCDIR%%/joerc; then rm -f %D/%%ETCDIR%%/joerc; fi
-%%ETCDIR%%/joerc.dist
-@exec if [ ! -f %D/%%ETCDIR%%/joerc ]; then cp %D/%%ETCDIR%%/%f %D/%%ETCDIR%%/joerc; fi
-@unexec if cmp -s %D/%%ETCDIR%%/jpicorc.dist %D/%%ETCDIR%%/jpicorc; then rm -f %D/%%ETCDIR%%/jpicorc; fi
-%%ETCDIR%%/jpicorc.dist
-@exec if [ ! -f %D/%%ETCDIR%%/jpicorc ]; then cp %D/%%ETCDIR%%/%f %D/%%ETCDIR%%/jpicorc; fi
-@unexec if cmp -s %D/%%ETCDIR%%/jstarrc.dist %D/%%ETCDIR%%/jstarrc; then rm -f %D/%%ETCDIR%%/jstarrc; fi
-%%ETCDIR%%/jstarrc.dist
-@exec if [ ! -f %D/%%ETCDIR%%/jstarrc ]; then cp %D/%%ETCDIR%%/%f %D/%%ETCDIR%%/jstarrc; fi
-@unexec if cmp -s %D/%%ETCDIR%%/rjoerc.dist %D/%%ETCDIR%%/rjoerc; then rm -f %D/%%ETCDIR%%/rjoerc; fi
-%%ETCDIR%%/rjoerc.dist
-@exec if [ ! -f %D/%%ETCDIR%%/rjoerc ]; then cp %D/%%ETCDIR%%/%f %D/%%ETCDIR%%/rjoerc; fi
+@sample %%ETCDIR%%/jmacsrc.sample
+@sample %%ETCDIR%%/joerc.sample
+@sample %%ETCDIR%%/jpicorc.sample
+@sample %%ETCDIR%%/jstarrc.sample
+@sample %%ETCDIR%%/rjoerc.sample
%%ETCDIR%%/shell.csh
%%ETCDIR%%/shell.sh
%%DATADIR%%/charmaps/klingon