diff options
Diffstat (limited to 'audio/paprefs/Makefile')
-rw-r--r-- | audio/paprefs/Makefile | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/audio/paprefs/Makefile b/audio/paprefs/Makefile index c7cc65a..7cd388b 100644 --- a/audio/paprefs/Makefile +++ b/audio/paprefs/Makefile @@ -21,20 +21,12 @@ USE_GNOME= gconfmm26 gnomeprefix intltool CONFIGURE_ARGS= --disable-lynx OPTIONS_DEFINE= PK NLS +OPTIONS_SUB= yes 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} -LIB_DEPENDS+= libpackagekit-glib2.so:${PORTSDIR}/ports-mgmt/packagekit -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls .include <bsd.port.mk> |