View | Details | Raw Unified | Return to bug 106073
Collapse All | Expand All

(-)Makefile (-4 / +4 lines)
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}
(-)pkg-plist (-10 / +10 lines)
Lines 1-13 Link Here
1
bin/treewm
1
bin/treewm
2
bin/xprop-treewm
2
bin/xprop-treewm
3
bin/xkill-treewm
3
bin/xkill-treewm
4
share/treewm/pixmaps/close.xpm
4
%%DATADIR%%/pixmaps/close.xpm
5
share/treewm/pixmaps/icon.xpm
5
%%DATADIR%%/pixmaps/icon.xpm
6
share/treewm/pixmaps/max1.xpm
6
%%DATADIR%%/pixmaps/max1.xpm
7
share/treewm/pixmaps/max2.xpm
7
%%DATADIR%%/pixmaps/max2.xpm
8
share/treewm/pixmaps/move.xpm
8
%%DATADIR%%/pixmaps/move.xpm
9
share/treewm/pixmaps/none1.xpm
9
%%DATADIR%%/pixmaps/none1.xpm
10
share/treewm/pixmaps/none2.xpm
10
%%DATADIR%%/pixmaps/none2.xpm
11
share/treewm/pixmaps/resize.xpm
11
%%DATADIR%%/pixmaps/resize.xpm
12
@dirrm share/treewm/pixmaps
12
@dirrm %%DATADIR%%/pixmaps
13
@dirrm share/treewm
13
@dirrm %%DATADIR%%

Return to bug 106073