diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-30 07:07:29 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-30 07:07:29 +0800 |
commit | 6c116eb1c970b2c054be4c0be1ebbb57f01a6afc (patch) | |
tree | 9f9baf559a2b9317069117692f9444e1494b1aa3 /audio | |
parent | aa1ccad6cea6fa548cc2549dc0c9cec22579ab77 (diff) | |
download | freebsd-ports-graphics-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.tar.gz freebsd-ports-graphics-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.tar.zst freebsd-ports-graphics-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.zip |
Convert romain's ports to new option framework
While here Trim headers
Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/paprefs/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/audio/paprefs/Makefile b/audio/paprefs/Makefile index f87f30fc9ec..e24563de6c1 100644 --- a/audio/paprefs/Makefile +++ b/audio/paprefs/Makefile @@ -1,9 +1,5 @@ -# Ports collection Makefile for: paprefs -# Date created: July 21, 2007 -# Whom: Romain Tartière <romain@blogreen.org> -# +# Created by: Romain Tartière <romain@blogreen.org> # $FreeBSD$ -# PORTNAME= paprefs PORTVERSION= 0.9.9 @@ -24,15 +20,16 @@ USE_GNOME= gnomeprefix gnomehack intltool CONFIGURE_ARGS= --disable-lynx -OPTIONS= PK "Force dependency on PackageKit" off +OPTIONS_DEFINE= PK NLS +PK_DESC= Force dependency on PackageKit .include <bsd.port.options.mk> -.if defined(WITH_PK) +.if ${PORT_OPTIONS:MPK} LIB_DEPENDS+= packagekit-glib2.14:${PORTSDIR}/ports-mgmt/packagekit .endif -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" .else |