Changeset View
Changeset View
Standalone View
Standalone View
audio/ario/Makefile
Show All 28 Lines | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_GNOME= gtk20 intltool | USE_GNOME= gtk20 intltool | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
INSTALL_TARGET= install-strip | INSTALL_TARGET= install-strip | ||||
OPTIONS_DEFINE= AVAHI NLS | OPTIONS_DEFINE= AVAHI NLS | ||||
AVAHI_DESC= Zeroconf support (Avahi) | AVAHI_DESC= Zeroconf support (Avahi) | ||||
.include <bsd.port.options.mk> | AVAHI_LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app | ||||
AVAHI_CONFIGURE_ENABLE= avahi | |||||
.if ${PORT_OPTIONS:MAVAHI} | NLS_USES= gettext | ||||
LIB_DEPENDS+= libavahi-client.so:${PORTSDIR}/net/avahi-app | NLS_CONFIGURE_ENABLE= nls | ||||
CONFIGURE_ARGS+= --enable-avahi | |||||
.else | |||||
CONFIGURE_ARGS+= --disable-avahi | |||||
.endif | |||||
.if ${PORT_OPTIONS:MNLS} | |||||
USES+= gettext | |||||
CONFIGURE_ARGS+= --enable-nls | |||||
.else | |||||
CONFIGURE_ARGS+= --disable-nls | |||||
.endif | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|glib/gslist.h|glib.h|g ; \ | @${REINPLACE_CMD} -e 's|glib/gslist.h|glib.h|g ; \ | ||||
s|glib/gkeyfile.h>|glib.h>|g' \ | s|glib/gkeyfile.h>|glib.h>|g' \ | ||||
${WRKSRC}/src/ario-util.h \ | ${WRKSRC}/src/ario-util.h \ | ||||
${WRKSRC}/src/plugins/ario-plugin-info.c \ | ${WRKSRC}/src/plugins/ario-plugin-info.c \ | ||||
${WRKSRC}/src/ario-profiles.h | ${WRKSRC}/src/ario-profiles.h | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |