1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/deskutils/gnome-shell-extension-audio-output-switcher/Makefile
Dmitry Marakasov 0190983d13 - Remove bogus (in presence of USE_GITHUB) USES=tar*
- While here, minor cosmetic and license fixes

Approved by:	portmgr blanket
2016-12-27 12:20:41 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Gustau Perez i Querol <gustau.perez@gmail.com>
# $FreeBSD$
PORTNAME= gnome-shell-extension-audio-output-switcher
PORTVERSION= 0.0.0.20140520
PORTREVISION= 3
CATEGORIES= deskutils gnome
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gnome-shell audio output switcher
BUILD_DEPENDS= gnome-shell>=0:x11/gnome-shell \
gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas
RUN_DEPENDS= gnome-shell>=0:x11/gnome-shell \
gsettings-desktop-schemas>=3.12.0:devel/gsettings-desktop-schemas
USES= gettext gmake gnome pkgconfig
USE_GNOME= glib20
USE_GITHUB= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GH_ACCOUNT= anduchs
GH_TAGNAME= 2bec66d
GH_PROJECT= audio-output-switcher
PKGMESSAGE= ../gnome-shell-extra-extensions/pkg-message.slaves
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e 's|3.12"|3.12","3.14","3.16", "3.18"|g' \
${WRKSRC}/metadata.json
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/audio-output-switcher@anduchs
@(cd ${WRKSRC} && ${CP} -pPR * \
${STAGEDIR}${PREFIX}/share/gnome-shell/extensions/audio-output-switcher@anduchs)
.include <bsd.port.mk>