Date: Sat, 25 Nov 2017 16:14:07 +0800 From: blubee blubeeme <gurenchan@gmail.com> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Can I build multiple executables in 1 port Makefile? Message-ID: <CALM2mE=iBUQMa1X7BYcf8AcGuDn_e4mKoZ6iOttJZLauzYMycg@mail.gmail.com> In-Reply-To: <CALM2mE=nnrQVR-OXTLkb0kCHKCJxnjLQvZ5MeezPtZ4i3SCp0Q@mail.gmail.com> References: <CALM2mE=nnrQVR-OXTLkb0kCHKCJxnjLQvZ5MeezPtZ4i3SCp0Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
let's try this again: OPTIONS_DEFINE= X11 X11_RAWFB USE_GITHUB= yes GH_ACCOUNT= vurtun GH_TAGNAME= 36a396f .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MX11} do-build: @(${DO_MAKE_BUILD} -C ${WRKSRC}/demo/x11) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/demo/x11/bin/x11-zahnrad ${STAGEDIR}${PREFIX}/bin echo ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MX11_RAWFB} do-build: @(${DO_MAKE_BUILD} -C ${WRKSRC}/demo/x11_rawfb) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/demo/x11_rawfb/bin/x11-rawfb-zahnrad ${STAGEDIR}${PREFIX}/bin echo ${STAGEDIR}${PREFIX}/bin .endif .include <bsd.port.mk> the port will build either or but not both, how can I build and install both? Is that possible? On Sat, Nov 25, 2017 at 4:12 PM, blubee blubeeme <gurenchan@gmail.com> wrote: > A sample of my makefile: > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mE=iBUQMa1X7BYcf8AcGuDn_e4mKoZ6iOttJZLauzYMycg>