Date: Sun, 5 Jan 2014 14:16:37 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338780 - head/x11/wmbutton Message-ID: <201401051416.s05EGbPC006673@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Jan 5 14:16:37 2014 New Revision: 338780 URL: http://svnweb.freebsd.org/changeset/ports/338780 Log: - Stage support - Add missing OPTIONS_DEFINE Modified: head/x11/wmbutton/Makefile Modified: head/x11/wmbutton/Makefile ============================================================================== --- head/x11/wmbutton/Makefile Sun Jan 5 14:02:51 2014 (r338779) +++ head/x11/wmbutton/Makefile Sun Jan 5 14:16:37 2014 (r338780) @@ -20,7 +20,8 @@ PORTDOCS= README PORTEXAMPLES= dot.wmbutton PLIST_FILES= bin/wmbutton -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + .include <bsd.port.options.mk> do-build: @@ -30,15 +31,14 @@ do-build: -L${LOCALBASE}/lib -lXpm -lXext -lX11 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${PREFIX}/bin/wmbutton + ${INSTALL_PROGRAM} ${WRKSRC}/wmbutton ${STAGEDIR}${PREFIX}/bin/wmbutton .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README .endif .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/.wmbutton ${EXAMPLESDIR}/dot.wmbutton + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/.wmbutton ${STAGEDIR}${EXAMPLESDIR}/dot.wmbutton .endif - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401051416.s05EGbPC006673>