aboutsummaryrefslogtreecommitdiff
path: root/graphics/lensfun
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2011-06-10 10:02:46 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2011-06-10 10:02:46 +0000
commit018262ffe98666d04a1057167c46f20c782f4174 (patch)
tree78bebdc7b005dbd9334a058e8e4377757f2bdd5b /graphics/lensfun
parent17219d27772f5df7cc43fb8005b7c0f8b7a558cc (diff)
downloadports-018262ffe98666d04a1057167c46f20c782f4174.tar.gz
ports-018262ffe98666d04a1057167c46f20c782f4174.zip
Notes
Diffstat (limited to 'graphics/lensfun')
-rw-r--r--graphics/lensfun/Makefile28
1 files changed, 14 insertions, 14 deletions
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile
index db58a39425cb..0e2c7b974fa1 100644
--- a/graphics/lensfun/Makefile
+++ b/graphics/lensfun/Makefile
@@ -1,6 +1,6 @@
# New ports collection makefile for: lensfun
# Date created: Mon 25 May 2009 04:45:47 MSD
-# Whom: dindin@dindin.ru
+# Whom: Denis Barov <dindin@dindin.ru>
#
# $FreeBSD$
#
@@ -11,16 +11,18 @@ PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= BERLIOS
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= Library for fixing lens geometry distortion
-LIB_DEPENDS= png:${PORTSDIR}/graphics/png
+LICENSE= GPLv3
+
+LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
-USE_LDCONFIG= yes
-USE_GMAKE= yes
-USE_PYTHON= yes
USE_BZIP2= yes
+USE_GMAKE= yes
USE_GNOME= glib20
+USE_LDCONFIG= yes
+USE_PYTHON= yes
MAKEFILE= GNUmakefile
LIBVERSION= 2
@@ -28,7 +30,7 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CXXFLAGS+= -I${LOCALBASE}/include
HAS_CONFIGURE= yes
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET} --vectorization=SSE
PLIST_SUB+= PORTVERSION=${PORTVERSION} LIBVERSION=${LIBVERSION}
@@ -36,14 +38,12 @@ PLIST_SUB+= PORTVERSION=${PORTVERSION} LIBVERSION=${LIBVERSION}
post-patch:
@${REINPLACE_CMD} -e '1s|#!/usr/bin/python|#!/usr/bin/env python|' \
-e 's|make --version|gmake --version|' \
- -e '/add_config_mak.*DOXYGEN/ d' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|{_libdir}/pkgconfig|{_libdir}/../libdata/pkgconfig|' \
- ${WRKSRC}/build/lensfun.spec.in
- @${REINPLACE_CMD} -e 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|g' \
- ${WRKSRC}/build/tibs/compiler/pkgconfig.mak
+ -e '/add_config_mak.*DOXYGEN/d' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|' \
+ ${WRKSRC}/build/tibs/compiler/pkgconfig.mak
post-install:
- @${LN} -sf ${PREFIX}/lib/lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
+ ${LN} -sf ${PREFIX}/lib/lib${PORTNAME}.so ${PREFIX}/lib/lib${PORTNAME}.so.${LIBVERSION}
.include <bsd.port.mk>