2013-08-31 01:01:05 +02:00
|
|
|
# Created by: Matthieu Guegan <matt.guegan@free.fr>
|
2007-04-11 20:43:48 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gimmix
|
2010-11-01 09:35:55 +01:00
|
|
|
PORTVERSION= 0.5.7.1
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 4
|
2007-04-11 20:43:48 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
|
|
|
MASTER_SITE_SUBDIR= gimmix
|
|
|
|
|
2012-06-03 14:14:38 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-04-11 20:43:48 +02:00
|
|
|
COMMENT= Gimmix is a graphical MPD client written in C using GTK+2
|
|
|
|
|
2012-02-06 16:33:14 +01:00
|
|
|
LIB_DEPENDS= mpd.4:${PORTSDIR}/audio/libmpd \
|
2009-12-02 18:16:16 +01:00
|
|
|
tag.1:${PORTSDIR}/audio/taglib \
|
2009-03-14 16:11:02 +01:00
|
|
|
nxml:${PORTSDIR}/textproc/libnxml
|
2007-04-11 20:43:48 +02:00
|
|
|
|
2010-11-01 09:35:55 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2012-06-29 14:58:43 +02:00
|
|
|
OPTIONS_DEFINE= NLS
|
2010-11-10 13:16:06 +01:00
|
|
|
|
2009-03-14 16:11:02 +01:00
|
|
|
USE_GNOME= gtk20 intltool libglade2
|
2007-04-11 20:43:48 +02:00
|
|
|
USE_BZIP2= yes
|
2010-11-10 13:16:06 +01:00
|
|
|
|
2007-04-11 20:43:48 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-02 12:06:03 +02:00
|
|
|
USES= gmake pkgconfig
|
2007-04-11 20:43:48 +02:00
|
|
|
|
2009-03-14 16:11:02 +01:00
|
|
|
MAN1= gimmix.1
|
2009-01-11 19:29:19 +01:00
|
|
|
|
2010-05-16 19:27:04 +02:00
|
|
|
CONFIGURE_ENV= DATADIRNAME=share
|
|
|
|
|
2013-09-02 12:06:03 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-29 14:42:04 +02:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
2010-11-10 13:16:06 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2010-11-10 13:16:06 +01:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-10-25 22:12:16 +02:00
|
|
|
post-patch:
|
2010-11-10 13:16:06 +01:00
|
|
|
@${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in
|
2012-03-08 09:04:10 +01:00
|
|
|
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/src/gimmix-covers.c ${WRKSRC}/src/gimmix-lyrics.c
|
2007-10-25 22:12:16 +02:00
|
|
|
|
2007-04-11 20:43:48 +02:00
|
|
|
.include <bsd.port.mk>
|