Changeset View
Changeset View
Standalone View
Standalone View
head/audio/vagalume/Makefile
- This file uses an unknown character encoding.
Show All 19 Lines | |||||
USE_GSTREAMER= good mad gconf | USE_GSTREAMER= good mad gconf | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
OPTIONS_DEFINE= DBUS TRAY NLS GCONF | OPTIONS_DEFINE= DBUS TRAY NLS GCONF | ||||
OPTIONS_DEFAULT= DBUS TRAY | OPTIONS_DEFAULT= DBUS TRAY | ||||
OPTIONS_SUB= NLS DBUS | OPTIONS_SUB= NLS DBUS | ||||
TRAY_DESC= Tray icon and libnotify support | TRAY_DESC= Tray icon and libnotify support | ||||
.include <bsd.port.options.mk> | |||||
DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib | DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib | ||||
DBUS_CONFIGURE_ON= --enable-dbus --enable-im-status | DBUS_CONFIGURE_ON= --enable-dbus --enable-im-status | ||||
DBUS_CONFIGURE_OFF= --disable-dbus --disable-im-status | DBUS_CONFIGURE_OFF= --disable-dbus --disable-im-status | ||||
TRAY_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/devel/libnotify | TRAY_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/devel/libnotify | ||||
TRAY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify | TRAY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify | ||||
TRAY_CONFIGURE_ENABLE= tray-icon | TRAY_CONFIGURE_ENABLE= tray-icon | ||||
.if ${PORT_OPTIONS:MNLS} | NLS_USES= gettext | ||||
USES+= gettext | NLS_CPPFLAGS= -I${LOCALBASE}/include | ||||
CPPFLAGS+= -I${LOCALBASE}/include | NLS_LDFLAGS= -L${LOCALBASE}/lib | ||||
LDFLAGS+= -L${LOCALBASE}/lib | NLS_CONFIGURE_ENABLE= nls | ||||
.else | |||||
CONFIGURE_ARGS+=--disable-nls | |||||
.endif | |||||
.if ${PORT_OPTIONS:MGCONF} | GCONF_USE= GNOME=gconf2 | ||||
USE_GNOME+= gconf2 | GCONF_CONFIGURE_ENABLE= gconf | ||||
CONFIGURE_ARGS+=--enable-gconf | |||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|serviceentrydir = @serviceentrydir@|serviceentrydir = ${PREFIX}/share/dbus-1/services|' \ | @${REINPLACE_CMD} -e 's|serviceentrydir = @serviceentrydir@|serviceentrydir = ${PREFIX}/share/dbus-1/services|' \ | ||||
${WRKSRC}/Makefile.in | ${WRKSRC}/Makefile.in | ||||
.if empty(PORT_OPTIONS:MNLS) | post-patch-NLS-off: | ||||
@${REINPLACE_CMD} -e 's|SUBDIRS = src po|SUBDIRS = src|' \ | @${REINPLACE_CMD} -e 's|SUBDIRS = src po|SUBDIRS = src|' \ | ||||
${WRKSRC}/Makefile.in | ${WRKSRC}/Makefile.in | ||||
.endif | |||||
post-install: | post-install: | ||||
${CP} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps | ${CP} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |