aboutsummaryrefslogtreecommitdiff
path: root/comms/fl_moxgen
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/fl_moxgen
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'comms/fl_moxgen')
-rw-r--r--comms/fl_moxgen/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/comms/fl_moxgen/Makefile b/comms/fl_moxgen/Makefile
index 30d49b2ea3b1..9295a63cfdb3 100644
--- a/comms/fl_moxgen/Makefile
+++ b/comms/fl_moxgen/Makefile
@@ -22,14 +22,9 @@ OPTIONS_DEFINE= PDF
OPTIONS_DEFAULT= PDF
PDF_DESC= Enable PDF Writing (requires libharu)
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPDF}
- LIB_DEPENDS+= libhpdf.so:${PORTSDIR}/print/libharu
- ALL_TARGET= fl_moxgen
-.else
- ALL_TARGET= fl_moxgen_no_pdf
-.endif
+PDF_LIB_DEPENDS= libhpdf.so:${PORTSDIR}/print/libharu
+PDF_ALL_TARGET= fl_moxgen
+PDF_ALL_TARGET_OFF= fl_moxgen_no_pdf
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \