Makefile 894 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD: Makefile,v 1.8 2017/04/10 11:46:20 sthen Exp $
  2. COMMENT = color correction utility for digital images
  3. DISTNAME = delaboratory-0.8
  4. CATEGORIES = graphics x11
  5. REVISION = 2
  6. HOMEPAGE = https://code.google.com/p/delaboratory/
  7. # GPLv3+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += c iconv lzma m pthread ${LIBCXX} tiff wx_base wx_base_net wx_base_odbc
  10. WANTLIB += wx_base_xml wx_gtk2_adv wx_gtk2_aui wx_gtk2_core wx_gtk2_dbgrid
  11. WANTLIB += wx_gtk2_html wx_gtk2_qa wx_gtk2_richtext wx_gtk2_xrc xml2 z
  12. MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=delaboratory/}
  13. LIB_DEPENDS = converters/libiconv \
  14. textproc/libxml \
  15. x11/wxWidgets,-main
  16. RUN_DEPENDS = graphics/dcraw
  17. USE_GMAKE = Yes
  18. MAKE_FLAGS = CXX="${CXX}" OPTFLAGS="${CXXFLAGS}"
  19. NO_TEST = Yes
  20. post-patch:
  21. sed -i "s,-Ofast,,g" ${WRKSRC}/Makefile
  22. do-install:
  23. ${INSTALL_PROGRAM} ${WRKSRC}/delaboratory ${PREFIX}/bin
  24. .include <bsd.port.mk>