1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/gimmix/Makefile
Antoine Brodin 1c13285cf3 - Stage support
- Use desktop-file-utils
- Do not try to remove directories from BSD.local.dist
2013-12-28 20:29:35 +00:00

48 lines
1.1 KiB
Makefile

# Created by: 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= ports@FreeBSD.org
COMMENT= Gimmix is a graphical MPD client written in C using GTK+2
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \
libtag.so:${PORTSDIR}/audio/taglib \
libnxml.so:${PORTSDIR}/textproc/libnxml
LICENSE= GPLv2
OPTIONS_DEFINE= NLS
USE_GNOME= gtk20 intltool libglade2
USE_BZIP2= yes
GNU_CONFIGURE= yes
USES= desktop-file-utils gmake pkgconfig
CONFIGURE_ENV= DATADIRNAME=share
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lintl
CONFIGURE_ARGS+= --enable-nls
USES+= gettext
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>