2020-08-18 19:57:24 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2020/08/18 17:57:37 leot Exp $
|
2014-09-12 23:31:39 +02:00
|
|
|
|
2019-09-21 13:32:08 +02:00
|
|
|
DISTNAME= milkytracker-1.02.00
|
2020-08-18 19:57:24 +02:00
|
|
|
PKGREVISION= 3
|
2009-08-28 00:50:16 +02:00
|
|
|
CATEGORIES= audio
|
2019-09-21 13:32:08 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=milkytracker/}
|
|
|
|
GITHUB_PROJECT= MilkyTracker
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2009-08-28 00:50:16 +02:00
|
|
|
|
2019-10-01 21:37:50 +02:00
|
|
|
MAINTAINER= nia@NetBSD.org
|
2019-09-21 13:32:08 +02:00
|
|
|
HOMEPAGE= https://milkytracker.titandemo.org/
|
2009-08-28 00:50:16 +02:00
|
|
|
COMMENT= Music tracker inspired by Fast Tracker 2
|
2016-04-20 14:10:24 +02:00
|
|
|
LICENSE= gnu-gpl-v3
|
2009-08-28 00:50:16 +02:00
|
|
|
|
2019-09-21 13:32:08 +02:00
|
|
|
USE_CMAKE= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
2018-07-18 02:06:10 +02:00
|
|
|
USE_LANGUAGES= c c++03
|
2009-08-28 00:50:16 +02:00
|
|
|
|
2020-03-26 14:11:16 +01:00
|
|
|
# Resolve inconsistent PLIST on diferent platforms.
|
|
|
|
# As in docs/CMakeLists.txt, on "BSD", "share/doc/milkytracker" is always used
|
|
|
|
# Otherwise, "share/doc/MilkyTracker" is used.
|
|
|
|
# This is silly.
|
|
|
|
CMAKE_ARGS+= -DCMAKE_INSTALL_DOCDIR="share/doc/milkytracker"
|
|
|
|
|
2019-09-21 13:32:08 +02:00
|
|
|
INSTALLATION_DIRS+= share/appdata
|
|
|
|
INSTALLATION_DIRS+= share/applications
|
|
|
|
INSTALLATION_DIRS+= share/pixmaps
|
2009-08-28 00:50:16 +02:00
|
|
|
|
|
|
|
post-install:
|
2019-09-21 13:32:08 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/resources/pictures/carton.png \
|
|
|
|
${DESTDIR}${PREFIX}/share/pixmaps/milkytracker.png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/resources/milkytracker.appdata \
|
|
|
|
${DESTDIR}${PREFIX}/share/appdata/milkytracker.appdata.xml
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/resources/milkytracker.desktop \
|
|
|
|
${DESTDIR}${PREFIX}/share/applications
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} != "Darwin"
|
|
|
|
.include "../../archivers/lhasa/buildlink3.mk"
|
|
|
|
.include "../../archivers/zziplib/buildlink3.mk"
|
|
|
|
.include "../../devel/SDL2/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
.include "../../audio/alsa-lib/buildlink3.mk"
|
|
|
|
.include "../../audio/jack/buildlink3.mk"
|
|
|
|
.endif
|
2018-09-28 08:34:32 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2009-08-28 00:50:16 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|