Makefile 732 B

1234567891011121314151617181920212223242526272829303132
  1. # $OpenBSD: Makefile,v 1.13 2017/05/03 18:36:05 fcambus Exp $
  2. COMMENT= Commodore 64 music player and SID chip emulator
  3. DISTNAME= sidplay-base-1.0.9
  4. PKGNAME= ${DISTNAME:S/-base//}
  5. REVISION= 1
  6. CATEGORIES= audio
  7. MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
  8. # GPL
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c m sidplay>=1 sndio ${LIBCXX}
  11. MASTER_SITES= https://www.distfiles.pl/
  12. EXTRACT_SUFX= .tgz
  13. LIB_DEPENDS= audio/libsidplay
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ARGS= --with-sidplay-includes=${LOCALBASE}/include \
  16. --with-sidplay-library=${LOCALBASE}/lib
  17. post-extract:
  18. @mkdir -p ${WRKSRC}/audio/sndio
  19. @cp ${FILESDIR}/audiodrv.cpp ${WRKSRC}/audio/sndio
  20. @cp ${FILESDIR}/audiodrv.h ${WRKSRC}/audio/sndio
  21. .include <bsd.port.mk>