- OPTION'ize

- Add WITH_DITHER knob
This commit is contained in:
Alexey Dokuchaev 2005-05-23 07:02:19 +00:00
parent bfdc60bf5f
commit f33220370c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135921

View File

@ -26,8 +26,17 @@ GNU_CONFIGURE= yes
MAN1= waimea.1
OPTIONS= PIXMAP "Build with pixmap textures support" on \
DITHER "Enable ordered pseudocolor dithering" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_PIXMAP)
LIB_DEPENDS+= Imlib2.3:${PORTSDIR}/graphics/imlib2
.endif
.include <bsd.port.mk>
.if defined(WITH_DITHER)
CONFIGURE_ARGS+= --enable-ordered-pseudo
.endif
.include <bsd.port.post.mk>