Makefile 687 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.6 2017/04/10 11:45:23 sthen Exp $
  2. COMMENT = MCP LADSPA plugins
  3. DISTNAME = MCP-plugins-0.4.0
  4. PKGNAME = ${DISTNAME:L}
  5. REVISION = 0
  6. CATEGORIES = audio
  7. HOMEPAGE = http://kokkinizita.net/linuxaudio/ladspa/index.html
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB = m ${LIBCXX}
  11. EXTRACT_SUFX = .tar.bz2
  12. MASTER_SITES = http://kokkinizita.net/linuxaudio/downloads/
  13. MAKE_FLAGS = CPPFLAGS="${CPPFLAGS} -D_REENTRANT -fPIC"
  14. NO_TEST = Yes
  15. post-patch:
  16. sed -i 's#g\+\+ -shared#${CXX} -shared -fPIC#g' ${WRKSRC}/Makefile
  17. do-install:
  18. ${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/ladspa
  19. ${INSTALL_PROGRAM} ${WRKBUILD}/*.so ${PREFIX}/lib/ladspa
  20. .include <bsd.port.mk>