1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/audio/goattracker/Makefile

51 lines
1.3 KiB
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= goattracker
PORTVERSION= 2.73
CATEGORIES= audio
MASTER_SITES= SF/goattracker2/GoatTracker%202/${PORTVERSION}
DISTNAME= GoatTracker_${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Crossplatform music editor for creating Commodore 64 music
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/copying
USES= dos2unix gmake zip
USE_SDL= sdl
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
MAKEFILE= makefile
OPTIONS_DEFINE= DOCS EXAMPLES
CFLAGS+= `sdl-config --cflags`
LIBS+= `sdl-config --libs`
DESKTOP_ENTRIES="GoatTracker 2" \
"${COMMENT}" \
"${PREFIX}/share/pixmaps/goattrk2.ico" \
"goattrk2" \
"" \
false
do-build:
@cd ${WRKSRC}/src/bme; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
@cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
do-install:
.for f in betaconv goattrk2 gt2reloc ins2snd2 mod2sng sngspli2
${INSTALL_PROGRAM} ${WRKSRC}/linux/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/src/goattrk2.ico ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.sng ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>