aboutsummaryrefslogtreecommitdiffstats
path: root/audio/linnya/Makefile
blob: 09985cdea48f1d41e4903a82a6f853b6efb4a133 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $FreeBSD$

PORTNAME=   linnya
PORTVERSION=    2.3.0
CATEGORIES= audio

MAINTAINER= ghw@7axu.com
COMMENT=    A Linnya Audio Player

LICENSE=    GPLv3

LIB_DEPENDS=    curl:${PORTSDIR}/ftp/curl

USE_GITHUB= yes
GH_ACCOUNT= herenvarno
GH_COMMIT=  90cf6b8

USES=       pkgconfig
USE_AUTOTOOLS=  libtoolize libtool
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk30
USE_SQLITE= 3
USE_GSTREAMER=  good mp3
MAKE_JOBS_SAFE= yes
USE_LDCONFIG=   yes
INSTALLS_ICONS= yes

LIBTOOLIZE_ARGS=--copy --force

OPTIONS_DEFINE= NLS

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

post-patch:
    ${REINPLACE_CMD} -e '/^$${CXXFLAGS/d' ${WRKSRC}/configure

.include <bsd.port.mk>