ports/138010: [PATCH] graphics/kipi-plugins-kde4: Update to version 0.5.0

Jason E. Hale bsdkaffee at gmail.com
Sat Aug 22 09:00:15 UTC 2009


The following reply was made to PR ports/138010; it has been noted by GNATS.

From: "Jason E. Hale" <bsdkaffee at gmail.com>
To: bug-followup at freebsd.org,
 bsdkaffee at gmail.com
Cc: kris at pcbsd.org
Subject: Re: ports/138010: [PATCH] graphics/kipi-plugins-kde4: Update to version 0.5.0
Date: Sat, 22 Aug 2009 04:53:41 -0400

 Just a quick followup since the Sourceforge scheme was just updated in the 
 ports tree.
 
 MASTER_SITES is now defined as:
 MASTER_SITES= SF/kipi/${PORTNAME}/${PORTVERSION}
 
 Consequently, the redefinition of FETCH_ARGS will not be needed.
 
 New diff for Makefile only is attached.  The rest of the previous patch still 
 applies.
 
 --- 2009-08-22-kipi-plugins-kde4.Makefile.diff begins here ---
 diff -ruN kipi-plugins-kde4.orig/Makefile kipi-plugins-kde4/Makefile
 --- kipi-plugins-kde4.orig/Makefile	2009-08-22 04:13:49.000000000 -0400
 +++ kipi-plugins-kde4/Makefile	2009-08-22 04:29:40.000000000 -0400
 @@ -6,8 +6,7 @@
  #
  
  PORTNAME=	kipi-plugins
 -PORTVERSION=	0.2.0
 -PORTREVISION=	3
 +PORTVERSION=	0.5.0
  PORTEPOCH=	1
  CATEGORIES=	graphics kde
  MASTER_SITES=	SF/kipi/${PORTNAME}/${PORTVERSION}
 @@ -16,27 +15,51 @@
  MAINTAINER=	kris at pcbsd.org
  COMMENT=	KDE4 kipi graphics plugins
  
 -LIB_DEPENDS=	cv.1:${PORTSDIR}/graphics/opencv \
 -		expat.6:${PORTSDIR}/textproc/expat2 \
 +LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2 \
  		kipi.6:${PORTSDIR}/graphics/kdegraphics4
  RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
  
  USE_BZIP2=	yes
  USE_CMAKE=	yes
 -USE_KDE4=	automoc4 kdehier kdeprefix kdelibs pimlibs
 +USE_GETTEXT=	yes
 +USE_KDE4=	automoc4 kdehier kdeprefix kdelibs
  USE_QT_VER=	4
  QT_COMPONENTS=	gui dbus network svg xml \
  		qmake_build moc_build rcc_build uic_build
  USE_LDCONFIG=	yes
 +MAKE_JOBS_SAFE=	yes
  
 -# Disable IpodExport plugin for now.  Requires audio/libgpod >= 0.7.0.
 -CMAKE_ARGS=	-DWITH_GLIB2:BOOL=OFF \
 +OPTIONS=	GPOD "Enable Ipod Export plugin" ON \
 +		OPENCV "Enable Red Eye Removal plugin" ON \
 +		PIMLIBS "Enable Calendar plugin" ON
 +
 +.include <bsd.port.pre.mk>
 +
 +.if defined(WITH_GPOD)
 +LIB_DEPENDS+=	gpod.5:${PORTSDIR}/audio/libgpod
 +PLIST_SUB+=	GPOD=""
 +.else
 +CMAKE_ARGS+=	-DWITH_GLIB2:BOOL=OFF \
  		-DWITH_GObject:BOOL=OFF \
  		-DWITH_Gdk:BOOL=OFF \
  		-DWITH_Gpod:BOOL=OFF
 +PLIST_SUB+=	GPOD="@comment "
 +.endif
  
 -post-patch:
 -	${GREP} -H -r "#include <q" ${WRKSRC} | ${CUT} -d: -f1 | uniq | \
 -		${XARGS} ${REINPLACE_CMD} -f ${FILESDIR}/qt3to4headers.txt
 +.if defined(WITH_OPENCV)
 +LIB_DEPENDS+=	cv.1:${PORTSDIR}/graphics/opencv
 +PLIST_SUB+=	OPENCV=""
 +.else
 +CMAKE_ARGS+=	-DWITH_OpenCV:BOOL=OFF
 +PLIST_SUB+=	OPENCV="@comment "
 +.endif
 +
 +.if defined(WITH_PIMLIBS)
 +USE_KDE4+=	pimlibs
 +PLIST_SUB+=	PIMLIBS=""
 +.else
 +CMAKE_ARGS+=	-DWITH_KdepimLibs:BOOL=OFF
 +PLIST_SUB+=	PIMLIBS="@comment "
 +.endif
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 --- 2009-08-22-kipi-plugins-kde4.Makefile.diff ends here ---



More information about the freebsd-ports-bugs mailing list