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
|
PORTNAME= imwheel
|
||||||
DISTVERSION= 1.0.0pre12
|
DISTVERSION= 1.0.0pre12
|
||||||
PORTREVISION= 3
|
PORTREVISION= 4
|
||||||
CATEGORIES= x11
|
CATEGORIES= x11
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${DISTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${DISTVERSION}
|
||||||
|
|
||||||
|
@ -25,6 +25,9 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${MV} ${STAGEDIR}${PREFIX}/etc/imwheelrc ${STAGEDIR}${PREFIX}/etc/imwheelrc.sample
|
||||||
|
|
||||||
post-install-DOCS-on:
|
post-install-DOCS-on:
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
bin/imwheel
|
bin/imwheel
|
||||||
etc/imwheelrc
|
@sample etc/imwheelrc.sample
|
||||||
share/man/man1/imwheel.1.gz
|
share/man/man1/imwheel.1.gz
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/EMACS
|
%%PORTDOCS%%%%DOCSDIR%%/EMACS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
|
Loading…
Add table
Reference in a new issue