Lines 26-43
Link Here
|
26 |
PORTDOCS= AUTHORS ChangeLog INSTALL PROBLEMS README README.tiling TODO default.cfg sample.cfg |
26 |
PORTDOCS= AUTHORS ChangeLog INSTALL PROBLEMS README README.tiling TODO default.cfg sample.cfg |
27 |
|
27 |
|
28 |
post-patch: |
28 |
post-patch: |
29 |
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile |
29 |
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile |
30 |
|
30 |
|
31 |
post-build: |
31 |
post-build: |
32 |
@${SED} 's|%%D%%|${DOCSDIR}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE} |
32 |
@${SED} 's|%%D%%|${DOCSDIR}|g' ${PKGDIR}/pkg-message >${PKGMESSAGE} |
33 |
|
33 |
|
34 |
do-install: |
34 |
do-install: |
35 |
${MKDIR} ${PREFIX}/share/treewm |
35 |
${MKDIR} ${DATADIR} |
36 |
${MKDIR} ${PREFIX}/share/treewm/pixmaps |
36 |
${MKDIR} ${DATADIR}/pixmaps |
37 |
${INSTALL_PROGRAM} ${WRKSRC}/src/treewm ${PREFIX}/bin |
37 |
${INSTALL_PROGRAM} ${WRKSRC}/src/treewm ${PREFIX}/bin |
38 |
${INSTALL_PROGRAM} ${WRKSRC}/xprop/xprop ${PREFIX}/bin/xprop-treewm |
38 |
${INSTALL_PROGRAM} ${WRKSRC}/xprop/xprop ${PREFIX}/bin/xprop-treewm |
39 |
${INSTALL_PROGRAM} ${WRKSRC}/xkill/xkill ${PREFIX}/bin/xkill-treewm |
39 |
${INSTALL_PROGRAM} ${WRKSRC}/xkill/xkill ${PREFIX}/bin/xkill-treewm |
40 |
${INSTALL_DATA} ${WRKSRC}/src/pixmaps/*.xpm ${PREFIX}/share/treewm/pixmaps |
40 |
${INSTALL_DATA} ${WRKSRC}/src/pixmaps/*.xpm ${DATADIR}/pixmaps |
41 |
.if !defined(NOPORTDOCS) |
41 |
.if !defined(NOPORTDOCS) |
42 |
${MKDIR} ${DOCSDIR} |
42 |
${MKDIR} ${DOCSDIR} |
43 |
.for FILE in ${PORTDOCS} |
43 |
.for FILE in ${PORTDOCS} |