2017-04-29 18:34:15 +02:00
|
|
|
PORTNAME= goattracker
|
2021-05-16 15:10:04 +02:00
|
|
|
PORTVERSION= 2.76
|
2017-04-29 18:34:15 +02:00
|
|
|
CATEGORIES= audio
|
2019-03-21 15:20:40 +01:00
|
|
|
MASTER_SITES= SF/goattracker2/GoatTracker%202/${PORTVERSION} \
|
|
|
|
LOCAL/ehaupt
|
2017-04-29 18:34:15 +02:00
|
|
|
DISTNAME= GoatTracker_${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
|
|
COMMENT= Crossplatform music editor for creating Commodore 64 music
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= http://covertbitops.c64.org/
|
2017-04-29 18:34:15 +02:00
|
|
|
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/copying
|
|
|
|
|
2019-03-21 15:20:40 +01:00
|
|
|
USES= dos2unix gmake sdl zip
|
2017-04-29 18:34:15 +02:00
|
|
|
USE_SDL= sdl
|
|
|
|
|
|
|
|
MAKEFILE= makefile
|
|
|
|
|
2021-05-16 15:10:04 +02:00
|
|
|
DESKTOP_ENTRIES= "GoatTracker 2" \
|
|
|
|
"${COMMENT}" \
|
|
|
|
"${PREFIX}/share/pixmaps/goattrk2.ico" \
|
|
|
|
"goattrk2" \
|
|
|
|
"" \
|
|
|
|
false
|
2017-04-29 18:34:15 +02:00
|
|
|
|
2021-05-16 15:10:04 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2017-04-29 18:34:15 +02:00
|
|
|
|
2021-05-16 15:10:04 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2019-03-21 15:20:40 +01:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${FIND} ${WRKSRC} -name '*.o' -type f -exec ${RM} -f {} \+
|
|
|
|
|
2017-04-29 18:34:15 +02:00
|
|
|
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:
|
2019-03-21 15:20:40 +01:00
|
|
|
.for f in goattrk2 gt2reloc ins2snd2 mod2sng sngspli2
|
2017-04-29 18:34:15 +02:00
|
|
|
${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>
|