diff options
author | bapt <bapt@FreeBSD.org> | 2015-09-25 06:19:58 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-09-25 06:19:58 +0800 |
commit | b9793315f134ff573050cbeabee36de3036d1c3a (patch) | |
tree | 34ab13acba13ad40f3942aad8b25ba9e010bd4e7 /editors | |
parent | f4f902d0f8172623ab542ed46fa1291f6ad324e8 (diff) | |
download | freebsd-ports-gnome-b9793315f134ff573050cbeabee36de3036d1c3a.tar.gz freebsd-ports-gnome-b9793315f134ff573050cbeabee36de3036d1c3a.tar.zst freebsd-ports-gnome-b9793315f134ff573050cbeabee36de3036d1c3a.zip |
Convert to @sample
While here, use option helper
Diffstat (limited to 'editors')
-rw-r--r-- | editors/diakonos/Makefile | 7 | ||||
-rw-r--r-- | editors/diakonos/pkg-plist | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/editors/diakonos/Makefile b/editors/diakonos/Makefile index b8c8245f927c..ea34c04e9df0 100644 --- a/editors/diakonos/Makefile +++ b/editors/diakonos/Makefile @@ -3,6 +3,7 @@ PORTNAME= diakonos PORTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= editors ruby MASTER_SITES= http://diakonos.pist0s.ca/archives/ @@ -29,10 +30,12 @@ do-install: ${INSTALL_SCRIPT} ${WRKDIR}/installation.rb \ ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/diakonos.conf \ - ${STAGEDIR}${PREFIX}/etc/diakonos.conf.dist + ${STAGEDIR}${PREFIX}/etc/diakonos.conf.sample ${INSTALL_DATA} ${WRKSRC}/diakonos-256-colour.conf \ - ${STAGEDIR}${PREFIX}/etc/diakonos-256-colour.conf.dist + ${STAGEDIR}${PREFIX}/etc/diakonos-256-colour.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR}/help + +post-install-DOCS-on: (cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG LICENCE README.rdoc \ ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/help/*.dhf ${STAGEDIR}${DOCSDIR}/help diff --git a/editors/diakonos/pkg-plist b/editors/diakonos/pkg-plist index 4f50d698f77a..e6cb71d684b2 100644 --- a/editors/diakonos/pkg-plist +++ b/editors/diakonos/pkg-plist @@ -1,10 +1,6 @@ bin/diakonos -@unexec if cmp -s %D/etc/diakonos.conf.dist %D/etc/diakonos.conf; then rm -f %D/etc/diakonos.conf; fi -etc/diakonos.conf.dist -@exec if [ ! -f %B/diakonos.conf ]; then cp -p %D/%F %B/diakonos.conf; fi -@unexec if cmp -s %D/etc/diakonos-256-colour.conf.dist %D/etc/diakonos-256-colour.conf; then rm -f %D/etc/diakonos-256-colour.conf; fi -etc/diakonos-256-colour.conf.dist -@exec if [ ! -f %B/diakonos-256-colour.conf ]; then cp -p %D/%F %B/diakonos-256-colour.conf; fi +@sample etc/diakonos.conf.sample +@sample etc/diakonos-256-colour.conf.sample %%RUBY_SITELIBDIR%%/diakonos.rb %%RUBY_SITELIBDIR%%/diakonos/about.rb %%RUBY_SITELIBDIR%%/diakonos/bookmark.rb |