mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
x11/imwheel: Install the imwheel rc file (imwheelrc) as a sample
Use pkg plumbing to install the actual config file for us.
This commit is contained in:
parent
5808377517
commit
617500ce36
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= imwheel
|
||||
DISTVERSION= 1.0.0pre12
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${DISTVERSION}
|
||||
|
||||
|
@ -25,6 +25,9 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}${PREFIX}/etc/imwheelrc ${STAGEDIR}${PREFIX}/etc/imwheelrc.sample
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
bin/imwheel
|
||||
etc/imwheelrc
|
||||
@sample etc/imwheelrc.sample
|
||||
share/man/man1/imwheel.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/EMACS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
|
|
Loading…
Add table
Reference in a new issue