Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/graphics/fotoxx/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/graphics/fotoxx/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.12 retrieving revision 1.39 diff -u -p -r1.12 -r1.39 --- pkgsrc/graphics/fotoxx/Makefile 2011/05/11 01:27:03 1.12 +++ pkgsrc/graphics/fotoxx/Makefile 2013/05/31 12:41:05 1.39 @@ -1,27 +1,60 @@ -# $NetBSD: Makefile,v 1.12 2011/05/11 01:27:03 ryoon Exp $ +# $NetBSD: Makefile,v 1.39 2013/05/31 12:41:05 wiz Exp $ # -DISTNAME= fotoxx-11.05.1 +DISTNAME= fotoxx-13.01.2 +PKGREVISION= 4 CATEGORIES= graphics -MASTER_SITES= http://kornelix.squarespace.com/storage/downloads/ +MASTER_SITES= http://www.kornelix.com/uploads/1/3/0/3/13035936/ MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://kornelix.squarespace.com/fotoxx/ +HOMEPAGE= http://www.kornelix.com/fotoxx.html COMMENT= Program for editing image files from a digital camera +LICENSE= gnu-gpl-v3 -PKG_DESTDIR_SUPPORT= user-destdir +BUILD_DEFS+= PKG_SYSCONFBASE + +PKG_SYSCONFSUBDIR= xdg/menus + +# XXX work around misc/xdg-utils being completely broken +XDG_CONFIG_DIRS="${DESTDIR}${PKG_SYSCONFBASE}/xdg" +MAKE_ENV+= XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS}" +MAKE_ENV+= XDG_DATA_DIRS="${DESTDIR}${PREFIX}/share" + +OWN_DIRS+= ${PREFIX}/share/desktop-directories DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool +DEPENDS+= dcraw-[0-9]*:../../graphics/dcraw DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw -#WRKSRC= ${WRKDIR}/fotoxx USE_LANGUAGES= c++ -USE_TOOLS+= gmake pkg-config +USE_TOOLS+= pkg-config BUILD_TARGET= fotoxx INSTALL_TARGET= install +.include "../../mk/bsd.prefs.mk" + +.if exists(/usr/include/execinfo.h) +CXXFLAGS+= -DHAVE_EXECINFO_H +. if (${OPSYS} == "NetBSD") +LDFLAGS+= -lexecinfo +. endif +.endif + +SUBST_CLASSES+= fix-paths +SUBST_STAGE.fix-paths= pre-configure +SUBST_MESSAGE.fix-paths= Fixing absolute paths. +SUBST_FILES.fix-paths= desktop +SUBST_SED.fix-paths= -e 's,=/usr,=${PREFIX},g' +SUBST_SED.fix-paths= -e 's,=/usr,=${PREFIX},g' + +# XXX work around misc/xdg-utils being completely broken +pre-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_SYSCONFDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/desktop-directories + .include "../../graphics/tiff/buildlink3.mk" -.include "../../x11/gtk2/buildlink3.mk" +.include "../../x11/gtk3/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk"