summaryrefslogtreecommitdiff
path: root/audio/deforaos-mixer/Makefile
blob: 34f633041bee91efd1e2f8be0feb4ac2c0b6c0ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Olivier Cochard-Labbe <olivier@cochard.me>
# $FreeBSD$

PORTNAME=	mixer
PORTVERSION=	0.1.1
CATEGORIES=	audio
MASTER_SITES=	http://www.defora.org/os/download/download/3705/
DISTNAME=	Mixer-${PORTVERSION}
PKGNAMEPREFIX=	deforaos-

MAINTAINER=	olivier@cochard.me
COMMENT=	DeforaOS desktop audio mixer

LICENSE=	GPLv3

LIB_DEPENDS=	Desktop:${PORTSDIR}/x11/deforaos-libdesktop

MAKE_ARGS=	PREFIX=${PREFIX}
USES=		pkgconfig gettext
NO_STAGE=	yes
USE_GNOME=	gtk20 desktopfileutils
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

.include <bsd.port.mk>