mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Respect X11BASE
PR: ports/106073 Submitted by: rafan Approved by: portmgr (linimon)
This commit is contained in:
parent
62e32dd98a
commit
2daaefb95e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179474
@ -26,18 +26,18 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PORTDOCS= AUTHORS ChangeLog INSTALL PROBLEMS README README.tiling TODO default.cfg sample.cfg
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile
|
||||
|
||||
post-build:
|
||||
@${SED} 's|%%D%%|${DOCSDIR}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/share/treewm
|
||||
${MKDIR} ${PREFIX}/share/treewm/pixmaps
|
||||
${MKDIR} ${DATADIR}
|
||||
${MKDIR} ${DATADIR}/pixmaps
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/treewm ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xprop/xprop ${PREFIX}/bin/xprop-treewm
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xkill/xkill ${PREFIX}/bin/xkill-treewm
|
||||
${INSTALL_DATA} ${WRKSRC}/src/pixmaps/*.xpm ${PREFIX}/share/treewm/pixmaps
|
||||
${INSTALL_DATA} ${WRKSRC}/src/pixmaps/*.xpm ${DATADIR}/pixmaps
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for FILE in ${PORTDOCS}
|
||||
|
@ -1,13 +1,13 @@
|
||||
bin/treewm
|
||||
bin/xprop-treewm
|
||||
bin/xkill-treewm
|
||||
share/treewm/pixmaps/close.xpm
|
||||
share/treewm/pixmaps/icon.xpm
|
||||
share/treewm/pixmaps/max1.xpm
|
||||
share/treewm/pixmaps/max2.xpm
|
||||
share/treewm/pixmaps/move.xpm
|
||||
share/treewm/pixmaps/none1.xpm
|
||||
share/treewm/pixmaps/none2.xpm
|
||||
share/treewm/pixmaps/resize.xpm
|
||||
@dirrm share/treewm/pixmaps
|
||||
@dirrm share/treewm
|
||||
%%DATADIR%%/pixmaps/close.xpm
|
||||
%%DATADIR%%/pixmaps/icon.xpm
|
||||
%%DATADIR%%/pixmaps/max1.xpm
|
||||
%%DATADIR%%/pixmaps/max2.xpm
|
||||
%%DATADIR%%/pixmaps/move.xpm
|
||||
%%DATADIR%%/pixmaps/none1.xpm
|
||||
%%DATADIR%%/pixmaps/none2.xpm
|
||||
%%DATADIR%%/pixmaps/resize.xpm
|
||||
@dirrm %%DATADIR%%/pixmaps
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user