summaryrefslogtreecommitdiff
path: root/audio/protracker
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-01-31 16:28:16 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-01-31 16:28:16 +0000
commitf631e0145e33f3c9a4445952b154a365bc09e367 (patch)
treea2605111ed0b8cbf0fb05e0f0d233b4cd40572f1 /audio/protracker
parentNew port: security/py-vici: Native Python interface for strongSwan's VICI pro... (diff)
Update to 1.04
Notes
Notes: svn path=/head/; revision=524727
Diffstat (limited to 'audio/protracker')
-rw-r--r--audio/protracker/Makefile28
-rw-r--r--audio/protracker/distinfo10
2 files changed, 17 insertions, 21 deletions
diff --git a/audio/protracker/Makefile b/audio/protracker/Makefile
index 7b4b2d20628a..2e8a2de523bf 100644
--- a/audio/protracker/Makefile
+++ b/audio/protracker/Makefile
@@ -2,42 +2,38 @@
# $FreeBSD$
PORTNAME= protracker
-DISTVERSION= 2.b${BETA_VERSION}
-PORTEPOCH= 1
+PORTVERSION= 1.04
+DISTVERSIONPREFIX= v
+PORTEPOCH= 2
CATEGORIES= audio
-MASTER_SITES= https://16-bits.org/ \
- LOCAL/ehaupt
-DISTFILES= pt2-clone-b${BETA_VERSION}-code${EXTRACT_SUFX} \
- ${PORTNAME}-extras-1${EXTRACT_SUFX}
+MASTER_SITES= LOCAL/ehaupt
+DISTFILES= ${PORTNAME}-extras-1${EXTRACT_SUFX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Amiga ProTracker clone
LICENSE= WTFPL
-USES= localbase:ldflags sdl zip
+LIB_DEPENDS= libasound.so:audio/alsa-lib
+
+USES= cmake localbase:ldflags sdl
USE_CSTD= c99
USE_SDL= sdl2
-BETA_VERSION= 37
+USE_GITHUB= yes
+GH_ACCOUNT= 8bitbubsy
+GH_PROJECT= pt2-clone
CFLAGS_i386+= -msse2
-LDFLAGS+= -lSDL2 -lm
PLIST_FILES= bin/protracker man/man1/protracker.1.gz \
share/applications/protracker.desktop \
share/pixmaps/protracker.png
-WRKSRC= ${WRKDIR}/pt2-clone-code
-
-do-build:
- ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/src/*.c \
- ${WRKSRC}/src/gfx/*.c -o ${WRKSRC}/protracker
-
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${MANPREFIX}/man/man1 \
${STAGEDIR}${DESKTOPDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/release/other/pt2-clone ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-extras-1/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-extras-1/*.desktop \
diff --git a/audio/protracker/distinfo b/audio/protracker/distinfo
index 9e66380ebf2f..620045e94315 100644
--- a/audio/protracker/distinfo
+++ b/audio/protracker/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1574956388
-SHA256 (pt2-clone-b37-code.zip) = d7597ab5b46e57dc5cef8358368758cd11e5260926ed18a79a61fe25f32c5b00
-SIZE (pt2-clone-b37-code.zip) = 6984299
-SHA256 (protracker-extras-1.zip) = 51a69c31ef925aa2432f0d3fd9052ecfa1ffdc4b388231a9ab8472e6e4d07ba0
-SIZE (protracker-extras-1.zip) = 1800
+TIMESTAMP = 1580465000
+SHA256 (protracker-extras-1.tar.gz) = 51a078f344611f6a41e44bab9a8640f363224c41a8a5432f55aeba3bb49fbdbf
+SIZE (protracker-extras-1.tar.gz) = 1267
+SHA256 (8bitbubsy-pt2-clone-v1.04_GH0.tar.gz) = e5c77dca76c874d33b17c882f9d742f2bfe053576bcb50a123168619527c9d97
+SIZE (8bitbubsy-pt2-clone-v1.04_GH0.tar.gz) = 6866031