Lines 1-17
Link Here
|
1 |
# New ports collection makefile for: graphics/geeqie |
1 |
# New ports collection makefile for: graphics/geeqie |
2 |
# Date created: 17 May 2008 |
2 |
# Date created: 17 May 2008 |
3 |
# Whom: Martin Tournoij <carpetsmoker@xs4all.nl> |
3 |
# Whom: Martin Tournoij <carpetsmoker@rwxrwxrwx.net> |
4 |
# |
4 |
# |
5 |
# $Carpetsmoker: ports/graphics/geeqie/Makefile,v 1.2 2008/05/17 19:35:22 carpetsmoker Exp $ |
|
|
6 |
# $FreeBSD: ports/graphics/geeqie/Makefile,v 1.1 2008/06/26 11:01:21 amdmi3 Exp $ |
5 |
# $FreeBSD: ports/graphics/geeqie/Makefile,v 1.1 2008/06/26 11:01:21 amdmi3 Exp $ |
7 |
# |
6 |
# |
8 |
|
7 |
|
9 |
PORTNAME= geeqie |
8 |
PORTNAME= geeqie |
10 |
DISTVERSION= 1.0alpha1 |
9 |
DISTVERSION= 1.0alpha3 |
11 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
12 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
13 |
|
12 |
|
14 |
MAINTAINER= carpetsmoker@xs4all.nl |
13 |
MAINTAINER= carpetsmoker@rwxrwxrwx.net |
15 |
COMMENT= Lightweight image viewer forked from GQview |
14 |
COMMENT= Lightweight image viewer forked from GQview |
16 |
|
15 |
|
17 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png |
16 |
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png |
Lines 22-50
Link Here
|
22 |
--htmldir="${DOCSDIR}/html" \ |
21 |
--htmldir="${DOCSDIR}/html" \ |
23 |
--with-htmldir="${DOCSDIR}/html" \ |
22 |
--with-htmldir="${DOCSDIR}/html" \ |
24 |
--with-readmedir="${DOCSDIR}" |
23 |
--with-readmedir="${DOCSDIR}" |
|
|
24 |
CFLAGS+= -I${LOCALBASE}/include |
25 |
CONFIGURE_ENV+= CPPFLAGS="${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib" |
25 |
MAKE_ARGS+= top_builddir="${WRKSRC}" |
26 |
MAKE_ARGS+= top_builddir="${WRKSRC}" |
26 |
|
27 |
|
|
|
28 |
PLIST_FILES= bin/geeqie \ |
29 |
share/pixmaps/geeqie.png \ |
30 |
share/applications/geeqie.desktop |
27 |
PORTDOCS= * |
31 |
PORTDOCS= * |
28 |
|
|
|
29 |
MAN1= geeqie.1 |
32 |
MAN1= geeqie.1 |
30 |
|
33 |
|
|
|
34 |
|
31 |
OPTIONS= EXIV2 "Enable EXIV2 for metadata editing" on \ |
35 |
OPTIONS= EXIV2 "Enable EXIV2 for metadata editing" on \ |
32 |
LCMS "Enable LCMS for color adjusting" on |
36 |
LCMS "Enable LCMS for color adjusting" on |
|
|
37 |
# Build fails with lirc enabled, disable it for now |
38 |
# LIRC "Enable lirc for remote control" off |
33 |
|
39 |
|
34 |
.include <bsd.port.pre.mk> |
40 |
.include <bsd.port.pre.mk> |
35 |
|
41 |
|
36 |
.if defined(WITH_EXIV2) |
42 |
.if defined(WITH_EXIV2) |
37 |
LIB_DEPENDS+= exiv2.3:${PORTSDIR}/graphics/exiv2 |
43 |
LIB_DEPENDS+= exiv2.3:${PORTSDIR}/graphics/exiv2 |
38 |
CONFIGURE_ARGS+=--with-exiv2 |
44 |
CONFIGURE_ARGS+=--enable-exiv2 |
39 |
.else |
45 |
.else |
40 |
CONFIGURE_ARGS+=--without-exiv2 |
46 |
CONFIGURE_ARGS+=--disable-exiv2 |
41 |
.endif |
47 |
.endif |
42 |
|
48 |
|
43 |
.if defined(WITH_LCMS) |
49 |
.if defined(WITH_LCMS) |
44 |
LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms |
50 |
LIB_DEPENDS+= lcms.1:${PORTSDIR}/graphics/lcms |
45 |
CONFIGURE_ARGS+=--with-lcms |
51 |
CONFIGURE_ARGS+=--enable-lcms |
|
|
52 |
.else |
53 |
CONFIGURE_ARGS+=--disable-lcms |
54 |
.endif |
55 |
|
56 |
.if defined(WITH_LIRC) |
57 |
LIB_DEPENDS+= lirc_client.1:${PORTSDIR}/comms/lirc |
58 |
CONFIGURE_ARGS+=--enable-lirc |
46 |
.else |
59 |
.else |
47 |
CONFIGURE_ARGS+=--without-lcms |
60 |
CONFIGURE_ARGS+=--disable-lirc |
48 |
.endif |
61 |
.endif |
49 |
|
62 |
|
50 |
post-patch: |
63 |
post-patch: |