1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00: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:
Cy Schubert 2024-09-11 12:38:29 -07:00
parent 5808377517
commit 617500ce36
2 changed files with 5 additions and 2 deletions

View File

@ -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}

View File

@ -1,5 +1,5 @@
bin/imwheel
etc/imwheelrc
@sample etc/imwheelrc.sample
share/man/man1/imwheel.1.gz
%%PORTDOCS%%%%DOCSDIR%%/EMACS
%%PORTDOCS%%%%DOCSDIR%%/README