aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-09-14 14:48:02 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-09-14 14:48:02 +0800
commit183664763197aeeeb2c219e9fc728bdb68baa581 (patch)
tree1a7818b5505fc35f1af1858546a88490383afd20 /textproc
parent500cdf3556e9e0eeac4e85f8efd8becd767e3e7e (diff)
downloadfreebsd-ports-gnome-183664763197aeeeb2c219e9fc728bdb68baa581.tar.gz
freebsd-ports-gnome-183664763197aeeeb2c219e9fc728bdb68baa581.tar.zst
freebsd-ports-gnome-183664763197aeeeb2c219e9fc728bdb68baa581.zip
- Fix PLIST
- Cosmetic change
Diffstat (limited to 'textproc')
-rw-r--r--textproc/asciidoc/Makefile12
-rw-r--r--textproc/asciidoc/pkg-plist2
2 files changed, 7 insertions, 7 deletions
diff --git a/textproc/asciidoc/Makefile b/textproc/asciidoc/Makefile
index 5b6412ec1849..facb7cda8fd3 100644
--- a/textproc/asciidoc/Makefile
+++ b/textproc/asciidoc/Makefile
@@ -25,7 +25,7 @@ USES= gmake
MAN1= a2x.1 asciidoc.1
-CONFFILES= asciidoc.conf docbook45.conf \
+CONF_FILES= asciidoc.conf docbook45.conf \
filters/code/code-filter.conf \
filters/graphviz/graphviz-filter.conf \
filters/latex/latex-filter.conf \
@@ -49,8 +49,8 @@ PLIST_SUB+= VIM="@comment " VIM_DATADIR=""
.endif
post-patch:
-.for f in ${CONFFILES}
- @cd ${WRKSRC} && ${MV} ${f} ${f}.sample
+.for conf_file in ${CONF_FILES}
+ @cd ${WRKSRC} && ${MV} ${conf_file} ${conf_file}.sample
.endfor
.if ${PORT_OPTIONS:MVIM}
@${REINPLACE_CMD} -e '/^vimdir = /d' ${WRKSRC}/Makefile.in
@@ -62,9 +62,9 @@ pre-install:
.endif
post-install:
-.for f in ${CONFFILES}
- @if [ ! -f ${ETCDIR}/${f} ]; then \
- ${CP} -p ${ETCDIR}/${f}.sample ${ETCDIR}/${f} ; \
+.for conf_file in ${CONF_FILES}
+ @if [ ! -f ${ETCDIR}/${conf_file} ]; then \
+ ${CP} -p ${ETCDIR}/${conf_file}.sample ${ETCDIR}/${conf_file} ; \
fi
.endfor
diff --git a/textproc/asciidoc/pkg-plist b/textproc/asciidoc/pkg-plist
index 6c8f9ee21a94..7abfdc6b3add 100644
--- a/textproc/asciidoc/pkg-plist
+++ b/textproc/asciidoc/pkg-plist
@@ -131,8 +131,8 @@ bin/asciidoc.py
%%ETCDIR%%/wordpress.conf.sample
@exec if [ ! -f %D/%%ETCDIR%%/wordpress.conf ] ; then cp -p %D/%F %B/wordpress.conf; fi
@unexec if cmp -s %D/%%ETCDIR%%/xhtml11.conf.sample %D/%%ETCDIR%%/xhtml11.conf; then rm -f %D/%%ETCDIR%%/xhtml11.conf; fi
-@exec if [ ! -f %D/%%ETCDIR%%/xhtml11.conf ] ; then cp -p %D/%F %B/xhtml11.conf; fi
%%ETCDIR%%/xhtml11.conf.sample
+@exec if [ ! -f %D/%%ETCDIR%%/xhtml11.conf ] ; then cp -p %D/%F %B/xhtml11.conf; fi
@unexec if cmp -s %D/%%ETCDIR%%/xhtml11-quirks.conf.sample %D/%%ETCDIR%%/xhtml11-quirks.conf; then rm -f %D/%%ETCDIR%%/xhtml11-quirks.conf; fi
%%ETCDIR%%/xhtml11-quirks.conf.sample
@exec if [ ! -f %D/%%ETCDIR%%/xhtml11-quirks.conf ] ; then cp -p %D/%F %B/xhtml11-quirks.conf; fi