Update goattracker to 2.75.
This commit is contained in:
parent
778a93db7a
commit
ac7f753695
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2018/10/24 14:27:57 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2019/03/24 13:56:59 fcambus Exp $
|
||||
|
||||
COMMENT = crossplatform music editor for creating Commodore 64 music
|
||||
|
||||
V = 2.74
|
||||
V = 2.75
|
||||
DISTNAME = GoatTracker_${V}
|
||||
PKGNAME = goattracker-${V}
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = audio
|
||||
|
||||
@ -22,11 +21,11 @@ WANTLIB += SDL c m pthread ${COMPILER_LIBCXX}
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=goattracker2/}GoatTracker%202/${V}/
|
||||
|
||||
COMPILER = base-clang ports-gcc base-gcc
|
||||
COMPILER = base-clang ports-gcc base-gcc
|
||||
|
||||
LIB_DEPENDS = devel/sdl
|
||||
|
||||
WRKDIST = ${WRKDIR}/src
|
||||
WRKDIST = ${WRKDIR}/goattrk2/src
|
||||
|
||||
USE_GMAKE = Yes
|
||||
|
||||
@ -36,11 +35,15 @@ MAKE_FILE = makefile
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
pre-configure:
|
||||
rm ${WRKSRC}/*.o ${WRKSRC}/*/*.o
|
||||
|
||||
do-install:
|
||||
for f in betaconv goattrk2 gt2reloc ins2snd2 mod2sng sngspli2; do \
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/bin/$$f ${PREFIX}/bin; \
|
||||
for f in goattrk2 gt2reloc ins2snd2 mod2sng sngspli2; do \
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/goattrk2/linux/$$f ${PREFIX}/bin; \
|
||||
done
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/goattracker
|
||||
${INSTALL_DATA} ${WRKDIR}/readme.txt ${PREFIX}/share/doc/goattracker
|
||||
${INSTALL_DATA} ${WRKDIR}/goattrk2/readme.txt \
|
||||
${PREFIX}/share/doc/goattracker
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (GoatTracker_2.74.zip) = kahZpw4PNSSt684tKPACidsakzRPEmtdpuIqi9ZG8kk=
|
||||
SIZE (GoatTracker_2.74.zip) = 1228568
|
||||
SHA256 (GoatTracker_2.75.zip) = k/a+wBuCIJPy+08fIg1y0Jy6mOXJyEILw2ZufKg9qc4=
|
||||
SIZE (GoatTracker_2.75.zip) = 1516416
|
||||
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-makefile,v 1.1.1.1 2016/09/03 10:44:38 fcambus Exp $
|
||||
--- makefile.orig Wed Jul 23 23:58:44 2014
|
||||
+++ makefile Fri Sep 2 12:40:02 2016
|
||||
@@ -2,8 +2,8 @@
|
||||
# Linux makefile
|
||||
#
|
||||
|
||||
-CFLAGS=`sdl-config --cflags`
|
||||
-PREFIX=../linux/
|
||||
+CFLAGS+=`sdl-config --cflags`
|
||||
+PREFIX=../bin/
|
||||
SUFFIX=
|
||||
LIBS=`sdl-config --libs`
|
||||
|
@ -1,42 +1,13 @@
|
||||
$OpenBSD: patch-makefile_common,v 1.3 2018/09/02 06:10:48 fcambus Exp $
|
||||
$OpenBSD: patch-makefile_common,v 1.4 2019/03/24 13:56:59 fcambus Exp $
|
||||
Index: makefile.common
|
||||
--- makefile.common.orig
|
||||
+++ makefile.common
|
||||
@@ -1,9 +1,9 @@
|
||||
# common makefile directives for linux and win32 build
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
-CC=gcc
|
||||
-CXX=g++
|
||||
-CFLAGS+=-O3 -Wall -Ibme -Iasm -fpermissive
|
||||
-CXXFLAGS=$(CFLAGS)
|
||||
+CC?=gcc
|
||||
+CXX?=g++
|
||||
+CFLAGS+=-Wall -Ibme -Iasm -fpermissive
|
||||
+CXXFLAGS+=$(CFLAGS)
|
||||
CC?=gcc
|
||||
CXX?=g++
|
||||
-CFLAGS+=-Ibme -Iasm -O3 -fpermissive
|
||||
+CFLAGS+=-Ibme -Iasm -fpermissive
|
||||
CXXFLAGS+=$(CFLAGS)
|
||||
|
||||
EXE= $(PREFIX)goattrk2$(SUFFIX) \
|
||||
$(PREFIX)gt2reloc$(SUFFIX) \
|
||||
@@ -43,19 +43,19 @@ bme/bme_gfx.o bme/bme_snd.o bme/bme_win.o bme/bme_mou.
|
||||
strip $@
|
||||
|
||||
$(PREFIX)mod2sng$(SUFFIX): mod2sng.o bme/bme_end.o
|
||||
- gcc -o $@ $^
|
||||
+ $(CC) -o $@ $^
|
||||
strip $@
|
||||
|
||||
$(PREFIX)ins2snd2$(SUFFIX): ins2snd2.o bme/bme_end.o
|
||||
- gcc -o $@ $^
|
||||
+ $(CC) -o $@ $^
|
||||
strip $@
|
||||
|
||||
$(PREFIX)sngspli2$(SUFFIX): sngspli2.o bme/bme_end.o
|
||||
- gcc -o $@ $^
|
||||
+ $(CC) -o $@ $^
|
||||
strip $@
|
||||
|
||||
$(PREFIX)betaconv$(SUFFIX): betaconv.o bme/bme_end.o
|
||||
- gcc -o $@ $^
|
||||
+ $(CC) -o $@ $^
|
||||
strip $@
|
||||
|
||||
goattrk2.dat: player.s altplayer.s chargen.bin palette.bin cursor.bin goattrk2.bmp goattrk2.seq
|
||||
|
@ -1,5 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/09/03 10:44:38 fcambus Exp $
|
||||
@bin bin/betaconv
|
||||
@comment $OpenBSD: PLIST,v 1.2 2019/03/24 13:56:59 fcambus Exp $
|
||||
@bin bin/goattrk2
|
||||
@bin bin/gt2reloc
|
||||
@bin bin/ins2snd2
|
||||
|
Loading…
Reference in New Issue
Block a user