Index: head/audio/deforaos-mixer/Makefile =================================================================== --- head/audio/deforaos-mixer/Makefile (revision 431667) +++ head/audio/deforaos-mixer/Makefile (revision 431668) @@ -1,29 +1,49 @@ # Created by: Olivier Cochard-Labbe # $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@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 -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 +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 + 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 Index: head/audio/deforaos-mixer/distinfo =================================================================== --- head/audio/deforaos-mixer/distinfo (revision 431667) +++ head/audio/deforaos-mixer/distinfo (revision 431668) @@ -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 Index: head/audio/deforaos-mixer/files/patch-Makefile =================================================================== --- head/audio/deforaos-mixer/files/patch-Makefile (nonexistent) +++ head/audio/deforaos-mixer/files/patch-Makefile (revision 431668) @@ -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" && \ Property changes on: head/audio/deforaos-mixer/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/deforaos-mixer/files/patch-doc_Makefile =================================================================== --- head/audio/deforaos-mixer/files/patch-doc_Makefile (nonexistent) +++ head/audio/deforaos-mixer/files/patch-doc_Makefile (revision 431668) @@ -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 Property changes on: head/audio/deforaos-mixer/files/patch-doc_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/deforaos-mixer/pkg-plist =================================================================== --- head/audio/deforaos-mixer/pkg-plist (nonexistent) +++ head/audio/deforaos-mixer/pkg-plist (revision 431668) @@ -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 Property changes on: head/audio/deforaos-mixer/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property