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 <[email protected]>
wrote:

> A sample of my makefile:
>
>
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to