diff options
author | mat <mat@FreeBSD.org> | 2015-08-19 21:29:59 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-08-19 21:29:59 +0800 |
commit | 9d30f78a00bed11384c7259f662e9352754275db (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /audio/vagalume | |
parent | 996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff) | |
download | freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'audio/vagalume')
-rw-r--r-- | audio/vagalume/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/audio/vagalume/Makefile b/audio/vagalume/Makefile index 941112bae90f..a31320342031 100644 --- a/audio/vagalume/Makefile +++ b/audio/vagalume/Makefile @@ -25,7 +25,6 @@ OPTIONS_DEFAULT= DBUS TRAY OPTIONS_SUB= NLS DBUS TRAY_DESC= Tray icon and libnotify support -.include <bsd.port.options.mk> DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib DBUS_CONFIGURE_ON= --enable-dbus --enable-im-status @@ -35,26 +34,21 @@ TRAY_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:${PORTSDIR}/deve TRAY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify TRAY_CONFIGURE_ENABLE= tray-icon -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.else -CONFIGURE_ARGS+=--disable-nls -.endif +NLS_USES= gettext +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib +NLS_CONFIGURE_ENABLE= nls -.if ${PORT_OPTIONS:MGCONF} -USE_GNOME+= gconf2 -CONFIGURE_ARGS+=--enable-gconf +GCONF_USE= GNOME=gconf2 +GCONF_CONFIGURE_ENABLE= gconf .endif post-patch: @${REINPLACE_CMD} -e 's|serviceentrydir = @serviceentrydir@|serviceentrydir = ${PREFIX}/share/dbus-1/services|' \ ${WRKSRC}/Makefile.in -.if empty(PORT_OPTIONS:MNLS) +post-patch-NLS-off: @${REINPLACE_CMD} -e 's|SUBDIRS = src po|SUBDIRS = src|' \ ${WRKSRC}/Makefile.in -.endif post-install: ${CP} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps |