Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.3 2016/10/08 01:33:09 jsg Exp $
  2. COMMENT= SDL Quake port
  3. CATEGORIES= games
  4. DISTNAME= quakespasm-0.92.1
  5. EXTRACT_SUFX= .tgz
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quakespasm/}
  7. HOMEPAGE= http://quakespasm.sourceforge.net
  8. MAINTAINER= Jonathan Gray <jsg@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += GL SDL2 c m mad ogg pthread vorbis vorbisfile
  12. LIB_DEPENDS= audio/libmad \
  13. audio/libvorbis \
  14. devel/sdl2
  15. WRKDIST= ${WRKDIR}/${DISTNAME}/Quake
  16. USE_GMAKE= Yes
  17. ALL_TARGET= release
  18. MAKE_FLAGS= USE_SDL2=1
  19. DOCS= Quakespasm.html Quakespasm-Music.txt Quakespasm.txt
  20. do-install:
  21. ${INSTALL_PROGRAM} ${WRKDIST}/quakespasm ${PREFIX}/libexec
  22. ${SUBST_CMD} -m 555 -c ${FILESDIR}/quakespasm.sh ${WRKSRC}/quakespasm.sh
  23. ${INSTALL_SCRIPT} ${WRKSRC}/quakespasm.sh ${PREFIX}/bin/quakespasm
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/quakespasm
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quakespasm
  26. .for DOC in ${DOCS}
  27. ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${DOC} \
  28. ${PREFIX}/share/doc/quakespasm/
  29. .endfor
  30. .include <bsd.port.mk>