Date: Sun, 5 Jan 2014 12:40:18 +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: r338759 - head/x11/libsx Message-ID: <201401051240.s05CeIhW065404@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Sun Jan 5 12:40:18 2014 New Revision: 338759 URL: http://svnweb.freebsd.org/changeset/ports/338759 Log: - Stage support - Add missing OPTIONS_DEFINE - New LIB_DEPENDS syntax Modified: head/x11/libsx/Makefile Modified: head/x11/libsx/Makefile ============================================================================== --- head/x11/libsx/Makefile Sun Jan 5 12:35:44 2014 (r338758) +++ head/x11/libsx/Makefile Sun Jan 5 12:40:18 2014 (r338759) @@ -13,27 +13,28 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Simple X11 library -LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d +LIB_DEPENDS= libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d USE_XORG= x11 xaw xext xmu xt ALL_TARGET= src freq MAKE_JOBS_UNSAFE= yes -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.options.mk> do-install: - ${INSTALL_DATA} ${WRKSRC}/src/libsx.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a ${PREFIX}/lib - ${MKDIR} ${PREFIX}/include/X11/libsx - ${INSTALL_DATA} ${WRKSRC}/src/libsx.h ${PREFIX}/include/X11/libsx - ${INSTALL_DATA} ${WRKSRC}/freq/freq.h ${PREFIX}/include/X11/libsx + ${INSTALL_DATA} ${WRKSRC}/src/libsx.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/freq/libfreq.a ${STAGEDIR}${PREFIX}/lib + @${MKDIR} ${STAGEDIR}${PREFIX}/include/X11/libsx + ${INSTALL_DATA} ${WRKSRC}/src/libsx.h ${STAGEDIR}${PREFIX}/include/X11/libsx + ${INSTALL_DATA} ${WRKSRC}/freq/freq.h ${STAGEDIR}${PREFIX}/include/X11/libsx post-install: .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${PREFIX}/share/doc/libsx - ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libsx - ${GZIP_CMD} ${PREFIX}/share/doc/libsx/*.doc + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/libsx + ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${PREFIX}/share/doc/libsx + ${GZIP_CMD} ${STAGEDIR}${PREFIX}/share/doc/libsx/*.doc .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401051240.s05CeIhW065404>