diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-06-26 11:01:21 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-06-26 11:01:21 +0000 |
commit | dfa2d819b059c6eb3c35594d955d2b1eac533278 (patch) | |
tree | 2743f47610764da6247856832806431cf1bde6b5 /graphics/geeqie/Makefile | |
parent | 1218e6669a81bb650fc175061900c473add00be3 (diff) | |
download | ports-dfa2d819b059c6eb3c35594d955d2b1eac533278.tar.gz ports-dfa2d819b059c6eb3c35594d955d2b1eac533278.zip |
Notes
Diffstat (limited to 'graphics/geeqie/Makefile')
-rw-r--r-- | graphics/geeqie/Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/graphics/geeqie/Makefile b/graphics/geeqie/Makefile new file mode 100644 index 000000000000..603a485e9ff8 --- /dev/null +++ b/graphics/geeqie/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: graphics/geeqie +# Date created: 17 May 2008 +# Whom: Martin Tournoij <carpetsmoker@xs4all.nl> +# +# $Carpetsmoker: ports/graphics/geeqie/Makefile,v 1.2 2008/05/17 19:35:22 carpetsmoker Exp $ +# $FreeBSD$ +# + +PORTNAME= geeqie +DISTVERSION= 1.0alpha1 +CATEGORIES= graphics +MASTER_SITES= SF + +MAINTAINER= carpetsmoker@xs4all.nl +COMMENT= Lightweight image viewer forked from GQview + +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png + +USE_GNOME= gtk20 +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --docdir="${DOCSDIR}" \ + --htmldir="${DOCSDIR}/html" \ + --with-htmldir="${DOCSDIR}/html" \ + --with-readmedir="${DOCSDIR}" +MAKE_ARGS+= top_builddir="${WRKSRC}" + +PORTDOCS= * + +MAN1= geeqie.1 + +OPTIONS= EXIV2 "Enable EXIV2 for metadata editing" on \ + LCMS "Enable LCMS for color adjusting" on + +.include <bsd.port.pre.mk> + +.if defined(WITH_EXIV2) +LIB_DEPENDS+= exiv2.3:${PORTSDIR}/graphics/exiv2 +CONFIGURE_ARGS+=--with-exiv2 +.else +CONFIGURE_ARGS+=--without-exiv2 +.endif + +.if defined(WITH_LCMS) +LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms +CONFIGURE_ARGS+=--with-lcms +.else +CONFIGURE_ARGS+=--without-lcms +.endif + +post-patch: + @${REINPLACE_CMD} -e 's| -r %F||' \ + ${WRKSRC}/geeqie.desktop +.if defined(NOPORTDOCS) + @${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> |