Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # $OpenBSD: Makefile,v 1.9 2017/04/10 11:45:23 sthen Exp $
  2. COMMENT= linux audio developer simple plugin API
  3. HOMEPAGE= http://www.ladspa.org/
  4. CATEGORIES= audio devel
  5. V= 1.13
  6. REVISION= 0
  7. DISTNAME= ladspa_sdk_${V}
  8. WRKDIST= ${WRKDIR}/ladspa_sdk
  9. PKGNAME= ladspa-${V}
  10. EXTRACT_SUFX= .tgz
  11. MASTER_SITES= ${HOMEPAGE:=download/}
  12. # LGPL
  13. PERMIT_PACKAGE_CDROM= Yes
  14. WRKBUILD= ${WRKDIST}/src
  15. USE_GMAKE= Yes
  16. MAKE_FILE= makefile
  17. ALL_TARGET= targets
  18. MAKE_FLAGS= LIBRARIES=-lm OPTS="${CFLAGS}"
  19. PROGRAMS= analyseplugin applyplugin listplugins
  20. WANTLIB= c m ${LIBCXX}
  21. do-install:
  22. .for i in ${PROGRAMS}
  23. ${INSTALL_PROGRAM} ${WRKDIST}/bin/$i ${PREFIX}/bin
  24. .endfor
  25. ${INSTALL_DATA_DIR} ${PREFIX}/lib/ladspa
  26. ${INSTALL_DATA} ${WRKDIST}/plugins/*.so ${PREFIX}/lib/ladspa
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ladspa
  28. ${INSTALL_DATA} ${WRKDIST}/doc/*.html ${PREFIX}/share/doc/ladspa
  29. ${INSTALL_DATA} ${WRKDIST}/src/ladspa.h ${PREFIX}/include
  30. # interactive regression test, that requires you to listen to stuff.
  31. # -> mostly useless
  32. NO_TEST= Yes
  33. .include <bsd.port.mk>