freebsd-ports/audio/milkytracker/Makefile
Emanuel Haupt de570f94ca Fix build with clang 6.0.0.
PR:		226179
2018-02-28 19:54:29 +00:00

43 lines
964 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= milkytracker
PORTVERSION= 1.02.00
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Music creation tool inspired by Fast Tracker 2
LICENSE= GPLv3
LIB_DEPENDS+= liblhasa.so:archivers/lhasa \
libzzip.so:devel/zziplib \
libjack.so:audio/jack
USES= cmake
USE_GITHUB= yes
USE_SDL= sdl2
GH_PROJECT= MilkyTracker
ICONS= carton.ico carton.png
OPTIONS_DEFINE= DOCS
BROKEN_powerpc= Does not build on powerpc
BROKEN_powerpc64= Does not build on powerpc64
post-install:
.for f in ${ICONS}
${INSTALL_DATA} ${WRKSRC}/resources/pictures/${f} \
${STAGEDIR}${PREFIX}/share/pixmaps/${f:C/carton/milkytracker/}
.endfor
${INSTALL_DATA} ${WRKSRC}/resources/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>