mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Convert to @sample
While here, use option helper
This commit is contained in:
parent
ca2bebd85d
commit
865dad6146
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397775
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user