Makefile 983 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.6 2017/04/10 11:45:23 sthen Exp $
  2. BROKEN-powerpc = SIGILL when building
  3. COMMENT = program for extreme audio stretching
  4. DISTNAME = paulstretch-2.2-2
  5. REVISION = 1
  6. PKGNAME = paulstretch-2.2.2
  7. EXTRACT_SUFX = .tar.bz2
  8. CATEGORIES = audio x11
  9. HOMEPAGE = http://hypermammut.sourceforge.net/paulstretch/
  10. # GPLv2 only
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB += X11 Xau Xdmcp Xext Xft Xinerama audiofile c fltk fontconfig
  13. WANTLIB += m mad mxml ogg portaudio pthread ${LIBCXX} vorbis vorbisenc
  14. WANTLIB += vorbisfile z Xcursor Xfixes
  15. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=hypermammut/}
  16. LIB_DEPENDS = audio/libmad \
  17. audio/libvorbis \
  18. audio/portaudio-svn \
  19. devel/libaudiofile \
  20. textproc/mxml \
  21. x11/fltk
  22. NO_TEST = Yes
  23. post-patch:
  24. sed -i "s,g\+\+,${CXX} ${CXXFLAGS},g" \
  25. ${WRKSRC}/compile_linux_kissfft.sh
  26. do-build:
  27. cd ${WRKSRC} && sh compile_linux_kissfft.sh
  28. do-install:
  29. ${INSTALL_PROGRAM} ${WRKSRC}/paulstretch ${PREFIX}/bin
  30. .include <bsd.port.mk>