- Update to 2.b37

- Bump PORTEPOCH due to the new versioning scheme
- Now that distfiles are published remove distfile creation targets
This commit is contained in:
Emanuel Haupt 2019-11-28 20:17:47 +00:00
parent 088e5a33ab
commit dee29bb006
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518605
2 changed files with 15 additions and 22 deletions

View File

@ -2,23 +2,24 @@
# $FreeBSD$
PORTNAME= protracker
PORTVERSION= 2.3d.r${SVN_REV}
DISTVERSION= 2.b${BETA_VERSION}
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= LOCAL/ehaupt
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-extras-1.tar.gz
MASTER_SITES= https://16-bits.org/ \
LOCAL/ehaupt
DISTFILES= pt2-clone-b${BETA_VERSION}-code${EXTRACT_SUFX} \
${PORTNAME}-extras-1${EXTRACT_SUFX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Amiga ProTracker clone
LICENSE= WTFPL
LICENSE_FILE= ${WRKSRC}/src/COPYING.txt
USES= localbase:ldflags sdl
USES= localbase:ldflags sdl zip
USE_CSTD= c99
USE_SDL= sdl2
SVN_URL= https://svn.code.sf.net/p/protracker/code/trunk
SVN_REV= 191
BETA_VERSION= 37
CFLAGS_i386+= -msse2
LDFLAGS+= -lSDL2 -lm
@ -27,6 +28,8 @@ 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
@ -42,14 +45,4 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-extras-1/*.png \
${STAGEDIR}${PREFIX}/share/pixmaps
dist:
svn checkout -r ${SVN_REV} ${SVN_URL} ${WRKSRC}
${TAR} -C ${WRKDIR} -czpf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
--exclude .svn ${DISTNAME}
cklatest:
@${ECHO_CMD} "We got: ${SVN_REV}"
@${ECHO_CMD} -n "There is: "
@svn info ${SVN_URL} | ${SED} -n 's|^Revision:\ \([0-9]*\)|\1|p'
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1567236624
SHA256 (protracker-2.3d.r191.tar.gz) = 045206c6b1e4eb2973a08d45ed78a247e272d12d9332fc091fa128d329191b3a
SIZE (protracker-2.3d.r191.tar.gz) = 4703268
SHA256 (protracker-extras-1.tar.gz) = 51a078f344611f6a41e44bab9a8640f363224c41a8a5432f55aeba3bb49fbdbf
SIZE (protracker-extras-1.tar.gz) = 1267
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