aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-28 22:04:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-28 22:04:28 +0800
commit8f7e30ceab6a8b3387e08dd5c951fd243a2c81b6 (patch)
tree5f1a2d291ece1667c282307ac82ab51354617945 /x11-wm
parent36c06f5a8db701f6b74e8193d2aa9de54ecff1ad (diff)
downloadfreebsd-ports-gnome-8f7e30ceab6a8b3387e08dd5c951fd243a2c81b6.tar.gz
freebsd-ports-gnome-8f7e30ceab6a8b3387e08dd5c951fd243a2c81b6.tar.zst
freebsd-ports-gnome-8f7e30ceab6a8b3387e08dd5c951fd243a2c81b6.zip
- Add LICENSE_FILE
- Switch to options helpers - Don't install INSTALL
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/treewm/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11-wm/treewm/Makefile b/x11-wm/treewm/Makefile
index 08ba84710c80..5a81af9c3dc9 100644
--- a/x11-wm/treewm/Makefile
+++ b/x11-wm/treewm/Makefile
@@ -11,16 +11,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Window manager that arranges windows in a tree
LICENSE= GPLv2
-
-OPTIONS_DEFINE= DOCS EXAMPLES
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake imake:env tar:bzip2
USE_XORG= x11 ice sm xext xmu xpm xt xxf86vm
-PORTDOCS= AUTHORS ChangeLog INSTALL PROBLEMS README README.tiling TODO
+PORTDOCS= AUTHORS ChangeLog PROBLEMS README README.tiling TODO
PORTEXAMPLES= default.cfg sample.cfg
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e \
@@ -38,13 +37,17 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/pixmaps
(cd ${WRKSRC}/src/pixmaps && ${INSTALL_DATA} *.xpm \
${STAGEDIR}${DATADIR}/pixmaps)
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for F in ${PORTDOCS}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${F} ${STAGEDIR}${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${STAGEDIR}${DOCSDIR}
.endfor
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for F in ${PORTEXAMPLES}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${F} ${STAGEDIR}${EXAMPLESDIR})
+ ${INSTALL_DATA} ${WRKSRC}/${F} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>