1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/games/slade/Makefile
2016-02-04 14:44:35 +00:00

37 lines
977 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= slade
DISTVERSION= 3.1.1_b3
CATEGORIES= games
MAINTAINER= danfe@FreeBSD.org
COMMENT= Modern editor for Doom-engine based games and source ports
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth \
libsfml-system.so:${PORTSDIR}/devel/sfml \
libftgl.so:${PORTSDIR}/graphics/ftgl \
libfreeimage.so:${PORTSDIR}/graphics/freeimage
USE_GITHUB= yes
GH_ACCOUNT= sirjuddington
GH_PROJECT= ${PORTNAME:tu}
USES= cmake compiler:c++11-lib pkgconfig
USE_WX= 3.0+
USE_CXXSTD= c++11
PLIST_FILES= bin/slade share/slade3/slade.pk3
post-patch:
@${REINPLACE_CMD} -e 's,"alsa","oss",' ${WRKSRC}/src/MIDIPlayer.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME}3
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.pk3 \
${STAGEDIR}${PREFIX}/share/${PORTNAME}3
.include <bsd.port.mk>