1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/audio/gvolwheel/Makefile
Rene Ladan fbd43637e1 Reset vg@'s ports after he resigned.
With hat:	portmgr-secretary
2018-02-23 21:09:47 +00:00

45 lines
1011 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= gvolwheel
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= ports@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 gvolwheel/audio-volume-high.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>