From 018262ffe98666d04a1057167c46f20c782f4174 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 10 Jun 2011 10:02:46 +0000 Subject: [PATCH] - Add LICENSE (GPLv3), take maintainerhsip - Don't pass CPPFLAGS to CONFIGURE_ENV, it's already there - Cleanup Makefile while here --- graphics/lensfun/Makefile | 28 ++++++++++++++-------------- 1 file 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 # # $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