diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-02-28 16:41:43 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-02-28 16:41:43 +0000 |
commit | 4b472a049900151002ff012efa10f1da43ad18e4 (patch) | |
tree | 044870a0f7bff0254afce091a0646c6fef6a3d70 /graphics/geeqie | |
parent | 37fe841d441a0f00ab7791bf32276c7813ae2e6e (diff) | |
download | ports-4b472a049900151002ff012efa10f1da43ad18e4.tar.gz ports-4b472a049900151002ff012efa10f1da43ad18e4.zip |
Notes
Diffstat (limited to 'graphics/geeqie')
-rw-r--r-- | graphics/geeqie/Makefile | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile index 5db0ceaa99f6..212cf753515b 100644 --- a/graphics/geeqie/Makefile +++ b/graphics/geeqie/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: graphics/geeqie -# Date created: 17 May 2008 -# Whom: Martin Tournoij <carpetsmoker@rwxrwxrwx.net> -# +# Created by: Martin Tournoij <carpetsmoker@rwxrwxrwx.net> # $FreeBSD$ -# PORTNAME= geeqie PORTVERSION= 1.1 @@ -32,28 +28,30 @@ PORTDOCS= * MAN1= geeqie.1 USE_GETTEXT= yes -OPTIONS= EXIV2 "Metadata editing" on \ - LCMS "Color adjusting" on \ - LIRC "Remote control" off \ - GPS "GPS map support (libchamplain) EXPERIMENTAL" off +OPTIONS_DEFINE= EXIV2 LCMS LIRC GPS DOCS +OPTIONS_DEFAULT=EXIV2 LCMS +EXIV2_DESC= Metadata editing +LCMS_DESC= Color adjusting +LIRC_DESC= Remote control +GPS_DESC= GPS map support (libchamplain) EXPERIMENTAL -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_EXIV2) +.if ${PORT_OPTIONS:MEXIV2} LIB_DEPENDS+= exiv2.12:${PORTSDIR}/graphics/exiv2 CONFIGURE_ARGS+=--enable-exiv2 .else CONFIGURE_ARGS+=--disable-exiv2 .endif -.if defined(WITH_LCMS) +.if ${PORT_OPTIONS:MLCMS} LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms CONFIGURE_ARGS+=--enable-lcms .else CONFIGURE_ARGS+=--disable-lcms .endif -.if defined(WITH_LIRC) +.if ${PORT_OPTIONS:MLIRC} LIB_DEPENDS+= lirc_client.2:${PORTSDIR}/comms/lirc CONFIGURE_ARGS+=--enable-lirc .else @@ -61,7 +59,7 @@ CONFIGURE_ARGS+=--disable-lirc .endif # Support for libchamplain is marked as experimental! -.if defined(WITH_GPS) +.if ${PORT_OPTIONS:MGPS} LIB_DEPENDS+= champlain-0.8.1:${PORTSDIR}/graphics/libchamplain CONFIGURE_ARGS+=--enable-gps .else @@ -74,11 +72,11 @@ post-patch: # I cannot get gnome-doc-tool working properly: Outputs gibberish @${REINPLACE_CMD} -Ee '/^(SUBDIRS|DIST_SUBDIRS)/ s|doc||' \ ${WRKSRC}/Makefile.in -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-helpDATA||' \ ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e '/^install-data-am:/,/^[a-z]/ s|install-readmeDATA||' \ ${WRKSRC}/Makefile.in .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |