svn commit: r431668 - in head/audio/deforaos-mixer: . files
Olivier Cochard
olivier at FreeBSD.org
Mon Jan 16 15:20:55 UTC 2017
Author: olivier
Date: Mon Jan 16 15:20:53 2017
New Revision: 431668
URL: https://svnweb.freebsd.org/changeset/ports/431668
Log:
Update to 0.2.2
Added:
head/audio/deforaos-mixer/files/
head/audio/deforaos-mixer/files/patch-Makefile (contents, props changed)
head/audio/deforaos-mixer/files/patch-doc_Makefile (contents, props changed)
head/audio/deforaos-mixer/pkg-plist (contents, props changed)
Modified:
head/audio/deforaos-mixer/Makefile
head/audio/deforaos-mixer/distinfo
Modified: head/audio/deforaos-mixer/Makefile
==============================================================================
--- head/audio/deforaos-mixer/Makefile Mon Jan 16 15:14:43 2017 (r431667)
+++ head/audio/deforaos-mixer/Makefile Mon Jan 16 15:20:53 2017 (r431668)
@@ -2,28 +2,48 @@
# $FreeBSD$
PORTNAME= mixer
-PORTVERSION= 0.1.1
-PORTREVISION= 2
+PORTVERSION= 0.2.2
CATEGORIES= audio
-MASTER_SITES= http://www.defora.org/os/download/download/3705/
+MASTER_SITES= http://www.defora.org/os/download/download/4456/
PKGNAMEPREFIX= deforaos-
DISTNAME= Mixer-${PORTVERSION}
MAINTAINER= olivier at FreeBSD.org
COMMENT= DeforaOS desktop audio mixer
-LICENSE= GPLv3
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop
+LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \
+ libDesktop.so:x11/deforaos-libdesktop \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
+
+USES= desktop-file-utils pkgconfig
+USE_GNOME= gtk20 cairo gdkpixbuf2
+
+MAKE_ARGS+= PREFIX=${PREFIX}
+MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man
+
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+NLS_USES= gettext
+DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
+ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl
+
+post-patch-DOCS-off:
+ ${REINPLACE_CMD} 's|data doc po|data po|' \
+ ${WRKSRC}/Makefile
+
+post-patch-NLS-off:
+ ${REINPLACE_CMD} 's|doc po src|doc src|' \
+ ${WRKSRC}/Makefile
-MAKE_ARGS= PREFIX=${PREFIX}
-USES= desktop-file-utils gettext pkgconfig
-USE_GNOME= gtk20
-PLIST_FILES= bin/mixer \
- share/applications/mixer.desktop \
- share/locale/fr/LC_MESSAGES/Mixer.mo
post-patch:
${REINPLACE_CMD} -e 's|Exec=mixer|Exec=${LOCALBASE}/bin/mixer|g' \
- ${WRKSRC}/data/mixer.desktop
+ ${WRKSRC}/data/deforaos-mixer.desktop
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mixer
.include <bsd.port.mk>
Modified: head/audio/deforaos-mixer/distinfo
==============================================================================
--- head/audio/deforaos-mixer/distinfo Mon Jan 16 15:14:43 2017 (r431667)
+++ head/audio/deforaos-mixer/distinfo Mon Jan 16 15:20:53 2017 (r431668)
@@ -1,2 +1,3 @@
-SHA256 (Mixer-0.1.1.tar.gz) = ba9cc7cd5269c8cc1709d71a8a4780bf9b7dd54b01d97daacbece6cc86cbfb70
-SIZE (Mixer-0.1.1.tar.gz) = 26329
+TIMESTAMP = 1484555039
+SHA256 (Mixer-0.2.2.tar.gz) = c324d4423b5aaca7886dcc346633c0c92af0496a08a497207c414c414b02df12
+SIZE (Mixer-0.2.2.tar.gz) = 21372
Added: head/audio/deforaos-mixer/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/deforaos-mixer/files/patch-Makefile Mon Jan 16 15:20:53 2017 (r431668)
@@ -0,0 +1,11 @@
+--- Makefile.orig 2017-01-16 13:02:55 UTC
++++ Makefile
+@@ -89,8 +89,6 @@ install:
+ if [ -n "$(OBJDIR)" ]; then \
+ $(MAKE) OBJDIR="$(OBJDIR)$$i/" install; \
+ else $(MAKE) install; fi) || exit; done
+- $(MKDIR) $(DESTDIR)$(PREFIX)/share/doc/Mixer
+- $(INSTALL) -m 0644 README.md $(DESTDIR)$(PREFIX)/share/doc/Mixer/README.md
+
+ uninstall:
+ @for i in $(SUBDIRS); do (cd "$$i" && \
Added: head/audio/deforaos-mixer/files/patch-doc_Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/deforaos-mixer/files/patch-doc_Makefile Mon Jan 16 15:20:53 2017 (r431668)
@@ -0,0 +1,26 @@
+--- doc/Makefile.orig 2017-01-16 00:02:08 UTC
++++ doc/Makefile
+@@ -1,4 +1,4 @@
+-TARGETS = $(OBJDIR)mixer.1 $(OBJDIR)mixer.html
++TARGETS = $(OBJDIR)mixer.1
+ OBJDIR =
+ PREFIX = /usr/local
+ DESTDIR =
+@@ -19,17 +19,14 @@ $(OBJDIR)mixer.html: manual.css.xml mixe
+ clean:
+ $(RM) -- $(mixer.1_OBJS) $(mixer.html_OBJS)
+ ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)mixer.1"
+- ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)mixer.html"
+
+ distclean: clean
+ $(RM) -- $(TARGETS)
+
+ install: $(TARGETS)
+ ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)mixer.1"
+- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)mixer.html"
+
+ uninstall:
+ ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "mixer.1"
+- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "mixer.html"
+
+ .PHONY: all clean distclean install uninstall
Added: head/audio/deforaos-mixer/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/deforaos-mixer/pkg-plist Mon Jan 16 15:20:53 2017 (r431668)
@@ -0,0 +1,5 @@
+bin/mixer
+share/applications/deforaos-mixer.desktop
+%%PORTDOCS%%man/man1/mixer.1.gz
+%%NLS%%share/locale/fr/LC_MESSAGES/Mixer.mo
+%%NLS%%share/locale/es/LC_MESSAGES/Mixer.mo
More information about the svn-ports-all
mailing list