Makefile 943 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $OpenBSD: Makefile,v 1.37 2017/06/06 08:45:16 ajacoutot Exp $
  2. COMMENT= digital camera command-line interface
  3. VERSION= 2.5.14
  4. DISTNAME= gphoto2-${VERSION}
  5. PKGNAME= gphoto-${VERSION}
  6. CATEGORIES= graphics
  7. HOMEPAGE= http://gphoto.sourceforge.net/
  8. MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += X11 aa c cdk exif gphoto2 gphoto2_port iconv intl jpeg
  12. WANTLIB += ltdl m ncurses popt pthread readline xcb
  13. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
  14. LIB_DEPENDS= devel/cdk \
  15. devel/popt \
  16. graphics/aalib \
  17. graphics/libgphoto2
  18. CONFIGURE_STYLE= gnu
  19. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  20. LDFLAGS="-L${LOCALBASE}/lib" \
  21. POPT_CFLAGS="-I${LOCALBASE}/include" \
  22. POPT_LIBS="-I${LOCALBASE}/lib -lpopt"
  23. # checking how to link with libintl... /usr/local/lib/libintl.a ...
  24. # (we want -lintl)
  25. MAKE_FLAGS= INTLLIBS='$$(LTLIBINTL)'
  26. .include <bsd.port.mk>