12345678910111213141516171819202122232425262728293031323334353637383940 |
- # $OpenBSD: Makefile,v 1.3 2016/10/08 01:33:09 jsg Exp $
- COMMENT= SDL Quake port
- CATEGORIES= games
- DISTNAME= quakespasm-0.92.1
- EXTRACT_SUFX= .tgz
- MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quakespasm/}
- HOMEPAGE= http://quakespasm.sourceforge.net
- MAINTAINER= Jonathan Gray <jsg@openbsd.org>
- # GPLv2
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB += GL SDL2 c m mad ogg pthread vorbis vorbisfile
- LIB_DEPENDS= audio/libmad \
- audio/libvorbis \
- devel/sdl2
- WRKDIST= ${WRKDIR}/${DISTNAME}/Quake
- USE_GMAKE= Yes
- ALL_TARGET= release
- MAKE_FLAGS= USE_SDL2=1
- DOCS= Quakespasm.html Quakespasm-Music.txt Quakespasm.txt
- do-install:
- ${INSTALL_PROGRAM} ${WRKDIST}/quakespasm ${PREFIX}/libexec
- ${SUBST_CMD} -m 555 -c ${FILESDIR}/quakespasm.sh ${WRKSRC}/quakespasm.sh
- ${INSTALL_SCRIPT} ${WRKSRC}/quakespasm.sh ${PREFIX}/bin/quakespasm
- ${INSTALL_DATA_DIR} ${PREFIX}/share/quakespasm
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quakespasm
- .for DOC in ${DOCS}
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${DOC} \
- ${PREFIX}/share/doc/quakespasm/
- .endfor
- .include <bsd.port.mk>
|