mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
- Support staging
- Add license
This commit is contained in:
parent
d232d0617b
commit
15a886eb51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333702
@ -11,22 +11,24 @@ MASTER_SITES= http://zakalwe.fi/uade/uade2/ \
|
||||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= Unix Amiga Delitracker Emulator
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= ao:${PORTSDIR}/audio/libao
|
||||
|
||||
USES= gmake pkgconfig
|
||||
NO_STAGE= yes
|
||||
HAS_CONFIGURE= yes
|
||||
USE_BZIP2= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/uade2
|
||||
DATADIR= ${PREFIX}/share/uade2
|
||||
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
||||
--mandir=${MANPREFIX}/man/man1 \
|
||||
--no-debug --without-audacious
|
||||
--no-debug --without-audacious \
|
||||
--package-prefix=${STAGEDIR}
|
||||
|
||||
CONFIGURE_ENV= SYSCFLAGS='${CFLAGS}'
|
||||
|
||||
MAN1= uade123.1
|
||||
PORTDOCS= BUGS PLANS REDUNDANT_REPLAYERS UAE-CREDITS UAE-README \
|
||||
VERSION_CONTROL_TAGGING audio_emulation.txt design.tex \
|
||||
download.html faq.html layers.eps layers.xfig \
|
||||
@ -46,7 +48,6 @@ CONFIGURE_ARGS+=--with-text-scope
|
||||
|
||||
.if ${PORT_OPTIONS:MFUSE}
|
||||
USES+= fuse
|
||||
MAN1+= uadefs.1
|
||||
PLIST_SUB+= FUSE=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--without-uadefs
|
||||
@ -61,17 +62,18 @@ CONFIGURE_ARGS+=--without-xmms
|
||||
PLIST_SUB+= XMMS="@comment "
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${RM} -rf ${WRKSRC}/players/S
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${RM} -rf ${DATADIR}/players/S
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -1,43 +0,0 @@
|
||||
--- src/frontends/xmms/Makefile.in.orig Sun Dec 10 12:02:29 2006
|
||||
+++ src/frontends/xmms/Makefile.in Sun Dec 10 12:01:15 2006
|
||||
@@ -5,7 +5,7 @@
|
||||
XMMSFLAGS={XMMSFLAGS}
|
||||
XMMSLIBS={XMMSLIBS}
|
||||
SHAREDLIBRARYFLAGS={SHAREDLIBRARYFLAGS}
|
||||
-CFLAGS = -Wall -O2 $(SHAREDLIBRARYFLAGS) $(DEBUGFLAGS) $(XMMSFLAGS) $(ARCHFLAGS) -I../common -I../../include
|
||||
+CFLAGS = $(SHAREDLIBRARYFLAGS) $(DEBUGFLAGS) $(XMMSFLAGS) $(ARCHFLAGS) -I../common -I../../include
|
||||
CLIBS = $(XMMSLIBS) -lm
|
||||
MODULES = plugin.o amifilemagic.o eagleplayer.o strlrep.o uadecontrol.o \
|
||||
uadeipc.o unixatomic.o subsongseek.o effects.o uadeconf.o md5.o \
|
||||
--- src/Makefile.in.orig Sun Dec 10 12:02:22 2006
|
||||
+++ src/Makefile.in Sun Dec 10 12:01:35 2006
|
||||
@@ -4,7 +4,7 @@
|
||||
ARCHLIBS = {ARCHLIBS}
|
||||
DEBUGFLAGS = {DEBUGFLAGS}
|
||||
|
||||
-COMMONGCCOPTS = -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2
|
||||
+COMMONGCCOPTS = -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions
|
||||
|
||||
TARGETCFLAGS = -fomit-frame-pointer -DGCCCONSTFUNC="__attribute__((const))" -D_REENTRANT -DREGPARAM= -D__inline__=inline $(COMMONGCCOPTS) $(DEBUGFLAGS) $(ARCHFLAGS)
|
||||
LIBRARIES = -lm $(AUDIOLIBS) $(ARCHLIBS)
|
||||
--- src/frontends/uade123/Makefile.in.orig Sun Dec 10 12:02:16 2006
|
||||
+++ src/frontends/uade123/Makefile.in Sun Dec 10 12:01:08 2006
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
CC = {CC}
|
||||
-CFLAGS = -Wall -O2 -I../../include -I../common {AOFLAGS} {DEBUGFLAGS} {ARCHFLAGS}
|
||||
+CFLAGS = -I../../include -I../common {AOFLAGS} {DEBUGFLAGS} {ARCHFLAGS}
|
||||
CLIBS = {AOLIBS} {ARCHLIBS} -lm
|
||||
MODULES = uade123.o strlrep.o unixatomic.o uadeipc.o amifilemagic.o \
|
||||
chrarray.o playlist.o eagleplayer.o unixwalkdir.o effects.o \
|
||||
--- src/frontends/audacious/Makefile.in.orig Sun Dec 10 12:02:10 2006
|
||||
+++ src/frontends/audacious/Makefile.in Sun Dec 10 12:00:55 2006
|
||||
@@ -5,7 +5,7 @@
|
||||
AUDACIOUSFLAGS={AUDACIOUSFLAGS}
|
||||
AUDACIOUSLIBS={AUDACIOUSLIBS}
|
||||
SHAREDLIBRARYFLAGS={SHAREDLIBRARYFLAGS}
|
||||
-CFLAGS = -Wall -O2 $(SHAREDLIBRARYFLAGS) $(AUDACIOUSFLAGS) $(ARCHFLAGS) $(DEBUGFLAGS) -I../common -I../../include
|
||||
+CFLAGS = $(SHAREDLIBRARYFLAGS) $(AUDACIOUSFLAGS) $(ARCHFLAGS) $(DEBUGFLAGS) -I../common -I../../include
|
||||
CLIBS = $(XMLIBS) -lm
|
||||
MODULES = plugin.o amifilemagic.o eagleplayer.o strlrep.o uadecontrol.o \
|
||||
uadeipc.o unixatomic.o subsongseek.o effects.o uadeconf.o md5.o \
|
11
audio/uade/files/patch-src__Makefile.in
Normal file
11
audio/uade/files/patch-src__Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./src/Makefile.in.orig 2009-10-29 22:01:12.000000000 +0100
|
||||
+++ ./src/Makefile.in 2013-11-13 16:29:09.082723891 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
ARCHLIBS = {ARCHLIBS}
|
||||
DEBUGFLAGS = {DEBUGFLAGS}
|
||||
|
||||
-COMMONGCCOPTS = -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2
|
||||
+COMMONGCCOPTS = -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions
|
||||
|
||||
TARGETCFLAGS = -fomit-frame-pointer $(COMMONGCCOPTS) $(DEBUGFLAGS) $(ARCHFLAGS)
|
||||
LIBRARIES = -lm $(AUDIOLIBS) $(ARCHLIBS)
|
@ -0,0 +1,11 @@
|
||||
--- ./src/frontends/audacious/Makefile.in.orig 2009-10-29 22:01:12.000000000 +0100
|
||||
+++ ./src/frontends/audacious/Makefile.in 2013-11-13 16:29:09.083723765 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
AUDACIOUSFLAGS={AUDACIOUSFLAGS}
|
||||
AUDACIOUSLIBS={AUDACIOUSLIBS}
|
||||
SHAREDLIBRARYFLAGS={SHAREDLIBRARYFLAGS}
|
||||
-CFLAGS = -Wall -O2 $(SHAREDLIBRARYFLAGS) $(AUDACIOUSFLAGS) $(ARCHFLAGS) $(DEBUGFLAGS) -I../common -I../../include
|
||||
+CFLAGS = $(SHAREDLIBRARYFLAGS) $(AUDACIOUSFLAGS) $(ARCHFLAGS) $(DEBUGFLAGS) -I../common -I../../include
|
||||
CLIBS = $(XMLIBS) -lm
|
||||
|
||||
all: libuade2.so
|
11
audio/uade/files/patch-src__frontends__uade123__Makefile.in
Normal file
11
audio/uade/files/patch-src__frontends__uade123__Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./src/frontends/uade123/Makefile.in.orig 2009-10-29 22:01:12.000000000 +0100
|
||||
+++ ./src/frontends/uade123/Makefile.in 2013-11-13 16:29:09.084723709 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
UADE123NAME = {UADE123NAME}
|
||||
|
||||
CC = {CC}
|
||||
-CFLAGS = -Wall -O2 -I../../include -I../common {AOFLAGS} {DEBUGFLAGS} {ARCHFLAGS}
|
||||
+CFLAGS = -I../../include -I../common {AOFLAGS} {DEBUGFLAGS} {ARCHFLAGS}
|
||||
CLIBS = {AOLIBS} {ARCHLIBS} -lm
|
||||
|
||||
all: uade123
|
11
audio/uade/files/patch-src__frontends__xmms__Makefile.in
Normal file
11
audio/uade/files/patch-src__frontends__xmms__Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./src/frontends/xmms/Makefile.in.orig 2009-10-29 22:01:12.000000000 +0100
|
||||
+++ ./src/frontends/xmms/Makefile.in 2013-11-13 16:29:09.085725693 +0100
|
||||
@@ -8,7 +8,7 @@
|
||||
XMMSFLAGS={XMMSFLAGS}
|
||||
XMMSLIBS={XMMSLIBS}
|
||||
SHAREDLIBRARYFLAGS={SHAREDLIBRARYFLAGS}
|
||||
-CFLAGS = -Wall -O2 $(SHAREDLIBRARYFLAGS) $(DEBUGFLAGS) $(XMMSFLAGS) $(ARCHFLAGS) -I../common -I../../include
|
||||
+CFLAGS = $(SHAREDLIBRARYFLAGS) $(DEBUGFLAGS) $(XMMSFLAGS) $(ARCHFLAGS) -I../common -I../../include
|
||||
CLIBS = $(XMMSLIBS) -lm
|
||||
|
||||
all: libuade2.so
|
@ -1,6 +1,8 @@
|
||||
bin/mod2ogg2.sh
|
||||
bin/uade123
|
||||
%%FUSE%%bin/uadefs
|
||||
%%FUSE%%man/man1/uadefs.1.gz
|
||||
man/man1/uade123.1.gz
|
||||
%%XMMS%%bin/uadexmmsadd
|
||||
lib/uade2/uadecore
|
||||
%%XMMS%%lib/xmms/Input/libuade2.so
|
||||
|
Loading…
Reference in New Issue
Block a user