diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | bb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/fl_moxgen | |
parent | Hand back to the maintainer, this time without a typo in the address. (diff) |
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/Makefile | 11 |
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}|' \ |