aboutsummaryrefslogtreecommitdiff
path: root/x11/wmbutton
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-28 14:03:37 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-28 14:03:37 +0000
commitda7cc91207da3a07b4fc4dfc5fb560a564bcf4cc (patch)
tree5c5cf4509135242c3792272aa2bf1836ec25108f /x11/wmbutton
parent260e54fe51c6649a90126df4c9b279a1ea49dd02 (diff)
downloadports-da7cc91207da3a07b4fc4dfc5fb560a564bcf4cc.tar.gz
ports-da7cc91207da3a07b4fc4dfc5fb560a564bcf4cc.zip
Notes
Diffstat (limited to 'x11/wmbutton')
-rw-r--r--x11/wmbutton/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11/wmbutton/Makefile b/x11/wmbutton/Makefile
index d3a9b199270d..c6d771b7f48e 100644
--- a/x11/wmbutton/Makefile
+++ b/x11/wmbutton/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Dockapp that displays 9 buttons to run apps of your choice
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
USE_XORG= xpm
@@ -22,8 +23,6 @@ PLIST_FILES= bin/wmbutton
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
-
do-build:
cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
-I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \
@@ -32,13 +31,13 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${STAGEDIR}${PREFIX}/bin/wmbutton
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/.wmbutton ${STAGEDIR}${EXAMPLESDIR}/dot.wmbutton
-.endif
.include <bsd.port.mk>