blob: d32a0bb10bf2fb109973d55149bde3f14c3e2280 (
plain)
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
47
48
49
50
51
52
53
54
|
# New ports collection makefile for: gimmix
# Date created: 11 April 2007
# Whom: Matthieu Guegan <matt.guegan@free.fr>
#
# $FreeBSD$
#
PORTNAME= gimmix
PORTVERSION= 0.5.7.1
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= gimmix
MAINTAINER= cs@FreeBSD.org
COMMENT= Gimmix is a graphical MPD client written in C using GTK+2
LIB_DEPENDS= mpd.4:${PORTSDIR}/audio/libmpd \
tag.1:${PORTSDIR}/audio/taglib \
nxml:${PORTSDIR}/textproc/libnxml
LICENSE= GPLv2
OPTIONS= NLS "Native Language Support" on
.include <bsd.port.options.mk>
USE_GNOME= gtk20 intltool libglade2
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
MAN1= gimmix.1
CONFIGURE_ENV= DATADIRNAME=share
.if !defined(WITHOUT_NLS)
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
CONFIGURE_ARGS+= --enable-nls
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/gimmix-covers.c ${WRKSRC}/src/gimmix-lyrics.c
.include <bsd.port.mk>
|