diff options
Diffstat (limited to 'graphics/f-spot/Makefile')
-rw-r--r-- | graphics/f-spot/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/graphics/f-spot/Makefile b/graphics/f-spot/Makefile new file mode 100644 index 000000000..298e5c2b7 --- /dev/null +++ b/graphics/f-spot/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: f-spot +# Date created: 20041008 +# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> +# +# $FreeBSD$ +# $Id: Makefile,v 1.1 2007-07-29 21:28:17 mezz Exp $ +# + +PORTNAME= f-spot +PORTVERSION= 0.3.5 +PORTREVISION= 4 +PORTEPOCH= 1 +CATEGORIES= graphics gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.3 + +MAINTAINER= bsd-sharp-list@forge.novell.com +COMMENT= Personal photo management to the GNOME desktop + +LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \ + exif.12:${PORTSDIR}/graphics/libexif \ + gphoto2.2:${PORTSDIR}/graphics/libgphoto2 +RUN_DEPENDS= dbus-daemon:${PORTSDIR}/devel/dbus + +USE_BZIP2= yes +USE_SQLITE= yes +USE_GNOME= gnomehack gnomeprefix gnometarget intlhack gnomesharp20 +GNU_CONFIGURE= yes +USE_GETTEXT= yes +USE_GMAKE= yes +INSTALLS_ICONS= yes +INSTALLS_OMF= yes + +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-patch: + @${REINPLACE_CMD} 's|target="liblcms.so.1"|target="liblcms.so"|g ; \ + s|target="libexif.so.@EXIF_SOVERSION@"|target="libexif.so"|g' \ + ${WRKSRC}/src/f-spot.exe.config.in + @${REINPLACE_CMD} 's|target="libgphoto2.so.2"|target="libgphoto2.so"|g'\ + ${WRKSRC}/libgphoto2-sharp/libgphoto2-sharp.dll.config + @${REINPLACE_CMD} 's|#!/bin/bash|#!/bin/sh|g' \ + ${WRKSRC}/tools/f-spot-import + +.include "${.CURDIR}/../../lang/mono/bsd.mono.mk" +.include <bsd.port.mk> |