Makefile 770 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.58 2016/09/02 17:42:44 fcambus Exp $
  2. COMMENT= extended module player
  3. DISTNAME= xmp-4.1.0
  4. CATEGORIES= audio
  5. HOMEPAGE= http://xmp.sourceforge.net/
  6. # GPLv2+
  7. PERMIT_PACKAGE_CDROM= Yes
  8. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/}
  9. WANTLIB += c sndio xmp
  10. USE_GMAKE= Yes
  11. NO_TEST= Yes
  12. LIB_DEPENDS= audio/libxmp
  13. CONFIGURE_STYLE= gnu
  14. MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build-aux
  15. CONFIGURE_ARGS+= --disable-alsa \
  16. --disable-oss \
  17. --disable-pulseaudio
  18. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  19. LDFLAGS="-L${LOCALBASE}/lib"
  20. # disable sun audio detection
  21. CONFIGURE_ENV+= ac_cv_header_sys_audioio_h=no
  22. MAKE_FLAGS+= V=1
  23. FAKE_FLAGS= DESTDIR=${WRKINST} \
  24. SYSCONFDIR=${PREFIX}/share/examples
  25. .include <bsd.port.mk>