[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / fotoxx

Annotation of pkgsrc/graphics/fotoxx/Makefile, Revision 1.42

1.42    ! wiz         1: # $NetBSD: Makefile,v 1.41 2013/06/04 22:16:17 tron Exp $
1.1       wiz         2: #
                      3:
1.35      ryoon       4: DISTNAME=      fotoxx-13.01.2
1.42    ! wiz         5: PKGREVISION=   7
1.1       wiz         6: CATEGORIES=    graphics
1.23      ryoon       7: MASTER_SITES=  http://www.kornelix.com/uploads/1/3/0/3/13035936/
1.1       wiz         8:
                      9: MAINTAINER=    pkgsrc-users@NetBSD.org
1.23      ryoon      10: HOMEPAGE=      http://www.kornelix.com/fotoxx.html
1.1       wiz        11: COMMENT=       Program for editing image files from a digital camera
1.13      ryoon      12: LICENSE=       gnu-gpl-v3
1.1       wiz        13:
1.37      bad        14: BUILD_DEFS+=   PKG_SYSCONFBASE
                     15:
                     16: PKG_SYSCONFSUBDIR=     xdg/menus
                     17:
                     18: # XXX work around misc/xdg-utils being completely broken
                     19: XDG_CONFIG_DIRS="${DESTDIR}${PKG_SYSCONFBASE}/xdg"
                     20: MAKE_ENV+=     XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS}"
                     21: MAKE_ENV+=     XDG_DATA_DIRS="${DESTDIR}${PREFIX}/share"
                     22:
                     23: OWN_DIRS+=     ${PREFIX}/share/desktop-directories
                     24:
1.1       wiz        25: DEPENDS+=      xdg-utils-[0-9]*:../../misc/xdg-utils
1.6       bad        26: DEPENDS+=      p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
1.28      ryoon      27: DEPENDS+=      dcraw-[0-9]*:../../graphics/dcraw
1.6       bad        28: DEPENDS+=      gimp-ufraw-[0-9]*:../../graphics/gimp-ufraw
1.1       wiz        29:
                     30: USE_LANGUAGES= c++
1.23      ryoon      31: USE_TOOLS+=    pkg-config
1.1       wiz        32:
                     33: BUILD_TARGET=  fotoxx
1.12      ryoon      34: INSTALL_TARGET=        install
1.1       wiz        35:
1.23      ryoon      36: .include "../../mk/bsd.prefs.mk"
                     37:
1.24      ryoon      38: .if exists(/usr/include/execinfo.h)
1.25      ryoon      39: CXXFLAGS+=     -DHAVE_EXECINFO_H
                     40: .  if (${OPSYS} == "NetBSD")
1.23      ryoon      41: LDFLAGS+=      -lexecinfo
1.25      ryoon      42: .  endif
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.6       bad        57: .include "../../graphics/tiff/buildlink3.mk"
1.23      ryoon      58: .include "../../x11/gtk3/buildlink3.mk"
1.13      ryoon      59: .include "../../sysutils/desktop-file-utils/desktopdb.mk"
1.1       wiz        60: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>