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/paprefs | |
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/paprefs')
-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 c7cc65ae5776..7cd388b853f6 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> |