aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ebook2cw/Makefile
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-16 07:11:12 +0800
committeradamw <adamw@FreeBSD.org>2014-07-16 07:11:12 +0800
commit9343eeba7783ac2ce4c8f5c88ab322647d489c19 (patch)
tree37076f8661cc0a667d6e54eab2728ecc665430a0 /comms/ebook2cw/Makefile
parentd5dd4663dfc459a5aa6a241eff9b72f253fbc4e8 (diff)
downloadfreebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.tar.gz
freebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.tar.zst
freebsd-ports-gnome-9343eeba7783ac2ce4c8f5c88ab322647d489c19.zip
Add OPTIONS_DEFINE=DOCS for ports with %%PORTDOCS%% in the plist.
Where possible, correct a few instances where PORTDOCS was being used to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by ruby@, PORTDOCS is applied to pretty much everything whether it's documentation or example.
Diffstat (limited to 'comms/ebook2cw/Makefile')
-rw-r--r--comms/ebook2cw/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/comms/ebook2cw/Makefile b/comms/ebook2cw/Makefile
index ebf3e0368541..f1243ef07e78 100644
--- a/comms/ebook2cw/Makefile
+++ b/comms/ebook2cw/Makefile
@@ -15,6 +15,8 @@ LICENSE= GPLv2
LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame \
libvorbis.so:${PORTSDIR}/audio/libvorbis
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|'g \
${WRKSRC}/Makefile