2007-04-11 20:43:48 +02:00
|
|
|
# New ports collection makefile for: gimmix
|
|
|
|
# Date created: 11 April 2007
|
|
|
|
# Whom: Matthieu Guegan <matt.guegan@free.fr>
|
|
|
|
#
|
|
|
|
# $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
|
|
|
|
|
2011-09-15 14:33:27 +02:00
|
|
|
MAINTAINER= cs@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
|
|
|
|
|
2010-11-10 13:16:06 +01:00
|
|
|
OPTIONS= NLS "Native Language Support" on
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
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
|
2009-03-14 16:11:02 +01:00
|
|
|
USE_GMAKE= yes
|
2010-11-01 09:35:55 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
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
|
|
|
|
|
2010-11-10 13:16:06 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
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
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
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>
|