freebsd-ports/audio/gvolwheel/Makefile
Koop Mast 2f0486b647 Part 1 of adding USE_GNOME=intltool to ports that require it.
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and
gtk30 don't pull intltool in anymore.

PR:		201980
Exp-run by:	antoine@
2015-08-02 20:23:55 +00:00

44 lines
1 KiB
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= gvolwheel
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= vg@FreeBSD.org
COMMENT= Volume mixer
LICENSE= GPLv3
CONFIGURE_ARGS+=--enable-oss
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
USES= gmake iconv pkgconfig
USE_GNOME= gtk30 intltool
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
SUB_FILES= pkg-message
DESKTOP_ENTRIES="GVolWheel" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "GTK;AudioVideo;Audio;Mixer;" true
post-patch:
${REINPLACE_CMD} -e 's|linux/soundcard|sys/soundcard|g' \
${WRKSRC}/src/callbacks.c ${WRKSRC}/src/actions.c
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
${LN} -sf ${PREFIX}/share/pixmaps/gvolwheel/audio-volume-high.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>