Date: Wed, 11 Jul 2007 20:40:09 +0200 From: Steffen Beyer <sbeyer@reactor.de> To: freebsd-ports@freebsd.org Subject: New port: qtpfsgui-1.8.9 Message-ID: <20070711184030.7B31013C484@mx1.freebsd.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Multipart=_Wed__11_Jul_2007_20_40_09_+0200_GQTRg6gk3_yE8PlV Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, my port for Qtpfsgui[1] is done, a Qt tool for creating and tonemapping HDR images. As this is my first try in porting, it would be great if someone could have a look at the Makefile (attached) before I submit the PR. The complete port is available at [2]. Actually I got two issues: -the program binds against the math/fftw3-float library but, as it seems, requires the header files from math/fftw3. So I included fftw3-float in LIB_DEPENDS and fftw3 in BUILD_DEPENDS. -before running qmake, a call to Qts lrelease tool is required. However in contrast to qmake, lrelease is not convered by the preset variables. Thank you. [1] <http://qtpfsgui.sourceforge.net/> [2] <http://teralink.net/stuff/qtpfsgui-1.8.9-port.tar.gz> Regards, -- Steffen Beyer <sbeyer@reactor.de> GnuPG key fingerprint: CA00 1611 242B 89D4 E643 E235 05F3 7689 DD3E EB26 Public key available upon request or at http://wwwkeys.de.pgp.net --Multipart=_Wed__11_Jul_2007_20_40_09_+0200_GQTRg6gk3_yE8PlV Content-Type: text/plain; name="Makefile" Content-Disposition: attachment; filename="Makefile" Content-Transfer-Encoding: quoted-printable # New ports collection makefile for: qtpfsgui # Date created: 19 June 2007 # Whom: Steffen Beyer <sbeyer@reactor.de> # # $FreeBSD$ # PORTNAME=3D qtpfsgui PORTVERSION=3D 1.8.9 CATEGORIES=3D graphics MASTER_SITES=3D ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=3D ${PORTNAME} EXTRACT_SUFX=3D .tgz MAINTAINER=3D sbeyer@reactor.de COMMENT=3D A Qt4 GUI providing a workflow for HDR imaging BUILD_DEPENDS=3D ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 LIB_DEPENDS=3D IlmImf.4:${PORTSDIR}/graphics/OpenEXR \ exiv2.0:${PORTSDIR}/graphics/exiv2 \ fftw3f.4:${PORTSDIR}/math/fftw3-float \ jpeg.9:${PORTSDIR}/graphics/jpeg \ tiff.4:${PORTSDIR}/graphics/tiff # distribution brings its own desktop file # DESKTOP_ENTRIES=3D "Qtpfsgui" "Create and tonemap HDR images" \ # "${PREFIX}/share/icons/hicolor/48x48/apps/qtpfsgui.png" \ # "qtpfsgui" "Graphics;RasterGraphics;Photography;Viewer;Qt" \ # true INSTALLS_ICONS=3D yes USE_GMAKE=3D yes USE_QT_VER=3D 4 QT_COMPONENTS=3D gui moc qmake rcc uic HAS_CONFIGURE=3D yes pre-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ lrelease-qt4 project.pro do-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${QMAKE} -unix PREFIX=3D${PREFIX} project.pro post-install: ${STRIP_CMD} ${PREFIX}/bin/qtpfsgui .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/Changelog ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/TODO ${DOCSDIR} ${LN} -sf ${PREFIX}/share/qtpfsgui/html ${DOCSDIR}/html .endif .include <bsd.port.mk> --Multipart=_Wed__11_Jul_2007_20_40_09_+0200_GQTRg6gk3_yE8PlV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070711184030.7B31013C484>