cd06f7ccc0
ports where it is applicable (alongside with other shared descriptions).
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= slade
|
|
PORTVERSION= 3.1.1
|
|
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= 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
|
|
|
|
OPTIONS_DEFINE= FLUIDSYNTH
|
|
OPTIONS_DEFAULT= FLUIDSYNTH
|
|
|
|
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
|
|
FLUIDSYNTH_CMAKE_OFF= -DNO_FLUIDSYNTH:BOOL=ON
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,"alsa","oss",' \
|
|
${WRKSRC}/src/Audio/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>
|