Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 15:50:49 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333702 - in head/audio/uade: . files
Message-ID:  <201311131550.rADFonvR087515@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Nov 13 15:50:48 2013
New Revision: 333702
URL: http://svnweb.freebsd.org/changeset/ports/333702

Log:
  - Support staging
  - Add license

Added:
  head/audio/uade/files/patch-src__Makefile.in   (contents, props changed)
  head/audio/uade/files/patch-src__frontends__audacious__Makefile.in   (contents, props changed)
  head/audio/uade/files/patch-src__frontends__uade123__Makefile.in   (contents, props changed)
  head/audio/uade/files/patch-src__frontends__xmms__Makefile.in   (contents, props changed)
Deleted:
  head/audio/uade/files/patch-nooptimize
Modified:
  head/audio/uade/Makefile
  head/audio/uade/pkg-plist

Modified: head/audio/uade/Makefile
==============================================================================
--- head/audio/uade/Makefile	Wed Nov 13 15:49:25 2013	(r333701)
+++ head/audio/uade/Makefile	Wed Nov 13 15:50:48 2013	(r333702)
@@ -11,22 +11,24 @@ MASTER_SITES=	http://zakalwe.fi/uade/uad
 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
 

Added: head/audio/uade/files/patch-src__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/uade/files/patch-src__Makefile.in	Wed Nov 13 15:50:48 2013	(r333702)
@@ -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)

Added: head/audio/uade/files/patch-src__frontends__audacious__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/uade/files/patch-src__frontends__audacious__Makefile.in	Wed Nov 13 15:50:48 2013	(r333702)
@@ -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

Added: head/audio/uade/files/patch-src__frontends__uade123__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/uade/files/patch-src__frontends__uade123__Makefile.in	Wed Nov 13 15:50:48 2013	(r333702)
@@ -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

Added: head/audio/uade/files/patch-src__frontends__xmms__Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/uade/files/patch-src__frontends__xmms__Makefile.in	Wed Nov 13 15:50:48 2013	(r333702)
@@ -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

Modified: head/audio/uade/pkg-plist
==============================================================================
--- head/audio/uade/pkg-plist	Wed Nov 13 15:49:25 2013	(r333701)
+++ head/audio/uade/pkg-plist	Wed Nov 13 15:50:48 2013	(r333702)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131550.rADFonvR087515>