diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-01 17:38:09 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-01 17:38:09 +0800 |
commit | 6eb3adc7280e328312ae2583378f4a12b4339477 (patch) | |
tree | bbc7a0b1d0eb0b2a2665f9014bf686cbf040f79e /audio/libmtp | |
parent | 5705c7427ed0aa5ee02e35df1212e28cbfb74663 (diff) | |
download | freebsd-ports-gnome-6eb3adc7280e328312ae2583378f4a12b4339477.tar.gz freebsd-ports-gnome-6eb3adc7280e328312ae2583378f4a12b4339477.tar.zst freebsd-ports-gnome-6eb3adc7280e328312ae2583378f4a12b4339477.zip |
Convert to new options framework
Diffstat (limited to 'audio/libmtp')
-rw-r--r-- | audio/libmtp/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/libmtp/Makefile b/audio/libmtp/Makefile index 2bfa203830f9..98423eb95284 100644 --- a/audio/libmtp/Makefile +++ b/audio/libmtp/Makefile @@ -15,7 +15,9 @@ COMMENT= Media Transfer Protocol (MTP) library LICENSE= LGPL21 -OPTIONS= MTPZ "Enable functionality to connect to MTPZ devices" on +OPTIONS_DEFINE= MTPZ +OPTIONS_DEFAULT= MTPZ +MTPZ_DESC= Enable functionality to connect to MTPZ devices USE_GNOME= gnomehack USE_ICONV= yes @@ -28,10 +30,10 @@ LDFLAGS+= -L${LOCALBASE}/lib .include <bsd.port.options.mk> -.if defined(WITHOUT_MTPZ) -CONFIGURE_ARGS+=--disable-mtpz -.else +.if ${PORT_OPTIONS:MMTPZ} LIB_DEPENDS+= gcrypt.18:${PORTSDIR}/security/libgcrypt +.else +CONFIGURE_ARGS+=--disable-mtpz .endif .include <bsd.port.pre.mk> |