diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-11-13 23:50:48 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-11-13 23:50:48 +0800 |
commit | ea39de5d7e104cc0afc3a8c5d9bb06a7e170baf4 (patch) | |
tree | 8f0469b6d2aa5bb400957ee1a08c4006cda067a9 /audio/uade | |
parent | 4cd4c00f51ae0f4e755749b4a88b02abe8a2b309 (diff) | |
download | freebsd-ports-gnome-ea39de5d7e104cc0afc3a8c5d9bb06a7e170baf4.tar.gz freebsd-ports-gnome-ea39de5d7e104cc0afc3a8c5d9bb06a7e170baf4.tar.zst freebsd-ports-gnome-ea39de5d7e104cc0afc3a8c5d9bb06a7e170baf4.zip |
- Support staging
- Add license
Diffstat (limited to 'audio/uade')
-rw-r--r-- | audio/uade/Makefile | 18 | ||||
-rw-r--r-- | audio/uade/files/patch-nooptimize | 43 | ||||
-rw-r--r-- | audio/uade/files/patch-src__Makefile.in | 11 | ||||
-rw-r--r-- | audio/uade/files/patch-src__frontends__audacious__Makefile.in | 11 | ||||
-rw-r--r-- | audio/uade/files/patch-src__frontends__uade123__Makefile.in | 11 | ||||
-rw-r--r-- | audio/uade/files/patch-src__frontends__xmms__Makefile.in | 11 | ||||
-rw-r--r-- | audio/uade/pkg-plist | 2 |
7 files changed, 56 insertions, 51 deletions
diff --git a/audio/uade/Makefile b/audio/uade/Makefile index c84032dacbf3..62fbe9544312 100644 --- a/audio/uade/Makefile +++ b/audio/uade/Makefile @@ -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 diff --git a/audio/uade/files/patch-nooptimize b/audio/uade/files/patch-nooptimize deleted file mode 100644 index a367d978a0e8..000000000000 --- a/audio/uade/files/patch-nooptimize +++ /dev/null @@ -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 \ diff --git a/audio/uade/files/patch-src__Makefile.in b/audio/uade/files/patch-src__Makefile.in new file mode 100644 index 000000000000..6120a6d8a9cc --- /dev/null +++ b/audio/uade/files/patch-src__Makefile.in @@ -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) diff --git a/audio/uade/files/patch-src__frontends__audacious__Makefile.in b/audio/uade/files/patch-src__frontends__audacious__Makefile.in new file mode 100644 index 000000000000..262e5a3dc75b --- /dev/null +++ b/audio/uade/files/patch-src__frontends__audacious__Makefile.in @@ -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 diff --git a/audio/uade/files/patch-src__frontends__uade123__Makefile.in b/audio/uade/files/patch-src__frontends__uade123__Makefile.in new file mode 100644 index 000000000000..0dda159f91f2 --- /dev/null +++ b/audio/uade/files/patch-src__frontends__uade123__Makefile.in @@ -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 diff --git a/audio/uade/files/patch-src__frontends__xmms__Makefile.in b/audio/uade/files/patch-src__frontends__xmms__Makefile.in new file mode 100644 index 000000000000..92111dcbfc8e --- /dev/null +++ b/audio/uade/files/patch-src__frontends__xmms__Makefile.in @@ -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 diff --git a/audio/uade/pkg-plist b/audio/uade/pkg-plist index 4140315dd9ee..98bbd763f8da 100644 --- a/audio/uade/pkg-plist +++ b/audio/uade/pkg-plist @@ -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 |