From 622ee7ccab7eb3a79d12c4a5234ba110e3473b41 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 26 Sep 2015 10:17:01 +0000 Subject: Convert to @sample --- editors/joe/Makefile | 3 ++- editors/joe/pkg-plist | 20 +++++--------------- 2 files changed, 7 insertions(+), 16 deletions(-) (limited to 'editors/joe') 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 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 -- cgit v1.2.3