Annotation of pkgsrc/graphics/fotoxx/Makefile, Revision 1.43
1.43 ! ryoon 1: # $NetBSD: Makefile,v 1.42 2013/06/06 12:54:29 wiz Exp $
1.1 wiz 2: #
3:
1.43 ! ryoon 4: DISTNAME= fotoxx-13.06.1
1.1 wiz 5: CATEGORIES= graphics
1.23 ryoon 6: MASTER_SITES= http://www.kornelix.com/uploads/1/3/0/3/13035936/
1.1 wiz 7:
8: MAINTAINER= pkgsrc-users@NetBSD.org
1.23 ryoon 9: HOMEPAGE= http://www.kornelix.com/fotoxx.html
1.1 wiz 10: COMMENT= Program for editing image files from a digital camera
1.13 ryoon 11: LICENSE= gnu-gpl-v3
1.1 wiz 12:
1.37 bad 13: BUILD_DEFS+= PKG_SYSCONFBASE
14:
15: PKG_SYSCONFSUBDIR= xdg/menus
16:
17: # XXX work around misc/xdg-utils being completely broken
18: XDG_CONFIG_DIRS="${DESTDIR}${PKG_SYSCONFBASE}/xdg"
19: MAKE_ENV+= XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS}"
20: MAKE_ENV+= XDG_DATA_DIRS="${DESTDIR}${PREFIX}/share"
21:
22: OWN_DIRS+= ${PREFIX}/share/desktop-directories
23:
1.1 wiz 24: DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
1.6 bad 25: DEPENDS+= p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
1.28 ryoon 26: DEPENDS+= dcraw-[0-9]*:../../graphics/dcraw
1.6 bad 27: DEPENDS+= gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw
1.1 wiz 28:
29: USE_LANGUAGES= c++
1.23 ryoon 30: USE_TOOLS+= pkg-config
1.1 wiz 31:
32: BUILD_TARGET= fotoxx
1.12 ryoon 33: INSTALL_TARGET= install
1.1 wiz 34:
1.23 ryoon 35: .include "../../mk/bsd.prefs.mk"
36:
1.24 ryoon 37: .if exists(/usr/include/execinfo.h)
1.25 ryoon 38: . if (${OPSYS} == "NetBSD")
1.23 ryoon 39: LDFLAGS+= -lexecinfo
1.25 ryoon 40: . endif
1.43 ! ryoon 41: .else
! 42: .include "../../devel/libexecinfo/buildlink3.mk"
1.23 ryoon 43: .endif
44:
1.37 bad 45: SUBST_CLASSES+= fix-paths
46: SUBST_STAGE.fix-paths= pre-configure
47: SUBST_MESSAGE.fix-paths= Fixing absolute paths.
48: SUBST_FILES.fix-paths= desktop
49: SUBST_SED.fix-paths= -e 's,=/usr,=${PREFIX},g'
50: SUBST_SED.fix-paths= -e 's,=/usr,=${PREFIX},g'
51:
52: # XXX work around misc/xdg-utils being completely broken
53: pre-install:
54: ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_SYSCONFDIR}
55: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/desktop-directories
56:
1.43 ! ryoon 57: .include "../../graphics/lcms2/buildlink3.mk"
1.6 bad 58: .include "../../graphics/tiff/buildlink3.mk"
1.23 ryoon 59: .include "../../x11/gtk3/buildlink3.mk"
1.13 ryoon 60: .include "../../sysutils/desktop-file-utils/desktopdb.mk"
1.1 wiz 61: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>