Changeset View
Changeset View
Standalone View
Standalone View
comms/fl_moxgen/Makefile
Show All 16 Lines | |||||
DESKTOP_ENTRIES= "Fl_MoxGen" "${COMMENT}" "" "${PORTNAME}" \ | DESKTOP_ENTRIES= "Fl_MoxGen" "${COMMENT}" "" "${PORTNAME}" \ | ||||
"Network;HamRadio;" false | "Network;HamRadio;" false | ||||
OPTIONS_DEFINE= PDF | OPTIONS_DEFINE= PDF | ||||
OPTIONS_DEFAULT= PDF | OPTIONS_DEFAULT= PDF | ||||
PDF_DESC= Enable PDF Writing (requires libharu) | PDF_DESC= Enable PDF Writing (requires libharu) | ||||
.include <bsd.port.options.mk> | PDF_LIB_DEPENDS= libhpdf.so:${PORTSDIR}/print/libharu | ||||
PDF_ALL_TARGET= fl_moxgen | |||||
.if ${PORT_OPTIONS:MPDF} | PDF_ALL_TARGET_OFF= fl_moxgen_no_pdf | ||||
LIB_DEPENDS+= libhpdf.so:${PORTSDIR}/print/libharu | |||||
ALL_TARGET= fl_moxgen | |||||
.else | |||||
ALL_TARGET= fl_moxgen_no_pdf | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ | @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ | ||||
-e 's|%%LOCALBASE%%|${LOCALBASE}|' \ | -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ | ||||
-e 's|%%DATADIR%%|${DATADIR}|' \ | -e 's|%%DATADIR%%|${DATADIR}|' \ | ||||
-e 's|%%STAGEDIR%%|${STAGEDIR}|' \ | -e 's|%%STAGEDIR%%|${STAGEDIR}|' \ | ||||
${WRKSRC}/Makefile | ${WRKSRC}/Makefile | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |