Changeset View
Changeset View
Standalone View
Standalone View
head/audio/paprefs/Makefile
Show All 15 Lines | |||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LIBS+= -L${LOCALBASE}/lib | LIBS+= -L${LOCALBASE}/lib | ||||
USES= gmake pkgconfig | USES= gmake pkgconfig | ||||
USE_GNOME= gconfmm26 gnomeprefix intltool | USE_GNOME= gconfmm26 gnomeprefix intltool | ||||
CONFIGURE_ARGS= --disable-lynx | CONFIGURE_ARGS= --disable-lynx | ||||
OPTIONS_DEFINE= PK NLS | OPTIONS_DEFINE= PK NLS | ||||
OPTIONS_SUB= yes | |||||
PK_DESC= Force dependency on PackageKit | PK_DESC= Force dependency on PackageKit | ||||
.include <bsd.port.options.mk> | PK_LIB_DEPENDS= libpackagekit-glib2.so:${PORTSDIR}/ports-mgmt/packagekit | ||||
.if ${PORT_OPTIONS:MPK} | NLS_USES= gettext | ||||
LIB_DEPENDS+= libpackagekit-glib2.so:${PORTSDIR}/ports-mgmt/packagekit | NLS_CONFIGURE_ENABLE= nls | ||||
.endif | |||||
.if ${PORT_OPTIONS:MNLS} | |||||
USES+= gettext | |||||
PLIST_SUB+= NLS="" | |||||
.else | |||||
CONFIGURE_ARGS+= --disable-nls | |||||
PLIST_SUB+= NLS="@comment " | |||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |