svn commit: r349734 - head/databases/libmemcached

Rene Ladan rene at FreeBSD.org
Mon Mar 31 11:26:54 UTC 2014


Author: rene
Date: Mon Mar 31 11:26:53 2014
New Revision: 349734
URL: http://svnweb.freebsd.org/changeset/ports/349734
QAT: https://qat.redports.org/buildarchive/r349734/

Log:
  - Add stage support, install manual pages unconditionally
  - Define an explicit option for the optional SASL dependency
  - Bump PORTREVISION
  
  Approved by:	 portmgr (blanket infrastructure)

Modified:
  head/databases/libmemcached/Makefile
  head/databases/libmemcached/pkg-plist

Modified: head/databases/libmemcached/Makefile
==============================================================================
--- head/databases/libmemcached/Makefile	Mon Mar 31 11:17:32 2014	(r349733)
+++ head/databases/libmemcached/Makefile	Mon Mar 31 11:26:53 2014	(r349734)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libmemcached
 PORTVERSION=	1.0.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
 MASTER_SITES=	http://launchpad.net/${PORTNAME}/1.0/${PORTVERSION}/+download/
 
@@ -12,144 +12,21 @@ COMMENT=	C and C++ client library to the
 LIB_DEPENDS?=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
 		libevent-1.4.so:${PORTSDIR}/devel/libevent
 
-USES=		gmake pathfix pkgconfig
+USES=		gmake pathfix pkgconfig perl5
+USE_PERL5=	build
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-memcached
 CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
 CXXFLAGS+=	-D__STDC_CONSTANT_MACROS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if exists(${LOCALBASE}/lib/libsasl.so.3)
-LIB_DEPENDS+=	libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
-.endif
+OPTIONS_DEFINE=	SASL
 
-.if !defined(NO_INSTALL_MANPAGES)
-USES+=	perl5
-USE_PERL5=	build
-MAN1=		memaslap.1 \
-		memcapable.1 \
-		memcat.1 \
-		memcp.1 \
-		memdump.1 \
-		memerror.1 \
-		memflush.1 \
-		memrm.1 \
-		memslap.1 \
-		memstat.1
-MAN3=		hashkit_clone.3 \
-		hashkit_crc32.3 \
-		hashkit_create.3 \
-		hashkit_fnv1_32.3 \
-		hashkit_fnv1_64.3 \
-		hashkit_fnv1a_32.3 \
-		hashkit_fnv1a_64.3 \
-		hashkit_free.3 \
-		hashkit_functions.3 \
-		hashkit_hsieh.3 \
-		hashkit_is_allocated.3 \
-		hashkit_jenkins.3 \
-		hashkit_md5.3 \
-		hashkit_murmur.3 \
-		hashkit_value.3 \
-		libhashkit.3 \
-		libmemcached.3 \
-		libmemcachedutil.3 \
-		libmemcached_check_configuration.3 \
-		libmemcached_configuration.3 \
-		libmemcached_examples.3 \
-		memcached.3 \
-		memcached_add.3 \
-		memcached_add_by_key.3 \
-		memcached_analyze.3 \
-		memcached_append.3 \
-		memcached_append_by_key.3 \
-		memcached_behavior_get.3 \
-		memcached_behavior_set.3 \
-		memcached_callback_get.3 \
-		memcached_callback_set.3 \
-		memcached_cas.3 \
-		memcached_cas_by_key.3 \
-		memcached_clone.3 \
-		memcached_create.3 \
-		memcached_decrement.3 \
-		memcached_decrement_with_initial.3 \
-		memcached_delete.3 \
-		memcached_delete_by_key.3 \
-		memcached_destroy_sasl_auth_data.3 \
-		memcached_dump.3 \
-		memcached_exist.3 \
-		memcached_exist_by_key.3 \
-		memcached_fetch.3 \
-		memcached_flush_buffers.3 \
-		memcached_fetch_execute.3 \
-		memcached_fetch_result.3 \
-		memcached_free.3 \
-		memcached_generate_hash.3 \
-		memcached_generate_hash_value.3 \
-		memcached_get.3 \
-		memcached_get_sasl_callbacks.3 \
-		memcached_get_by_key.3 \
-		memcached_get_memory_allocators.3 \
-		memcached_get_user_data.3 \
-		memcached_increment.3 \
-		memcached_increment_with_initial.3 \
-		memcached_last_error_message.3 \
-		memcached_lib_version.3 \
-		memcached_mget.3 \
-		memcached_mget_by_key.3 \
-		memcached_mget_execute.3 \
-		memcached_mget_execute_by_key.3 \
-		memcached_pool.3 \
-		memcached_pool_behavior_get.3 \
-		memcached_pool_behavior_set.3 \
-		memcached_pool_create.3 \
-		memcached_pool_destroy.3 \
-		memcached_pool_fetch.3 \
-		memcached_pool_pop.3 \
-		memcached_pool_push.3 \
-		memcached_pool_release.3 \
-		memcached_pool_st.3 \
-		memcached_prepend.3 \
-		memcached_prepend_by_key.3 \
-		memcached_quit.3 \
-		memcached_replace.3 \
-		memcached_replace_by_key.3 \
-		memcached_sasl_set_auth_data.3 \
-		memcached_server_add.3 \
-		memcached_server_count.3 \
-		memcached_server_cursor.3 \
-		memcached_server_list.3 \
-		memcached_server_list_append.3 \
-		memcached_server_list_count.3 \
-		memcached_server_list_free.3 \
-		memcached_server_push.3 \
-		memcached_servers_parse.3 \
-		memcached_set.3 \
-		memcached_set_sasl_callbacks.3 \
-		memcached_set_by_key.3 \
-		memcached_set_memory_allocators.3 \
-		memcached_set_user_data.3 \
-		memcached_stat.3 \
-		memcached_stat_execute.3 \
-		memcached_stat_get_keys.3 \
-		memcached_stat_get_value.3 \
-		memcached_stat_servername.3 \
-		memcached_strerror.3 \
-		memcached_touch.3 \
-		memcached_touch_by_key.3 \
-		memcached_verbosity.3 \
-		memcached_version.3
-.endif
+SASL_LIB_DEPENDS=	libsasl2.so:${PORTSDIR}/security/cyrus-sasl2
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \
 			 -e '/^LDFLAGS *=/ s/$$/ $${LTLIBSASL2}/' \
 			${WRKSRC}/Makefile.in ${WRKSRC}/support/include.am
-.if defined(NO_INSTALL_MANPAGES)
-	@${REINPLACE_CMD} -e 's|^SUBDIRS = docs |SUBDIRS = |' ${WRKSRC}/Makefile.in
-.endif
 
 .include <bsd.port.mk>

Modified: head/databases/libmemcached/pkg-plist
==============================================================================
--- head/databases/libmemcached/pkg-plist	Mon Mar 31 11:17:32 2014	(r349733)
+++ head/databases/libmemcached/pkg-plist	Mon Mar 31 11:26:53 2014	(r349734)
@@ -114,6 +114,119 @@ lib/libmemcachedutil.la
 lib/libmemcachedutil.so
 lib/libmemcachedutil.so.2
 libdata/pkgconfig/libmemcached.pc
+man/man1/memaslap.1.gz
+man/man1/memcapable.1.gz
+man/man1/memcat.1.gz
+man/man1/memcp.1.gz
+man/man1/memdump.1.gz
+man/man1/memerror.1.gz
+man/man1/memflush.1.gz
+man/man1/memrm.1.gz
+man/man1/memslap.1.gz
+man/man1/memstat.1.gz
+man/man3/hashkit_clone.3.gz
+man/man3/hashkit_crc32.3.gz
+man/man3/hashkit_create.3.gz
+man/man3/hashkit_fnv1_32.3.gz
+man/man3/hashkit_fnv1_64.3.gz
+man/man3/hashkit_fnv1a_32.3.gz
+man/man3/hashkit_fnv1a_64.3.gz
+man/man3/hashkit_free.3.gz
+man/man3/hashkit_functions.3.gz
+man/man3/hashkit_hsieh.3.gz
+man/man3/hashkit_is_allocated.3.gz
+man/man3/hashkit_jenkins.3.gz
+man/man3/hashkit_md5.3.gz
+man/man3/hashkit_murmur.3.gz
+man/man3/hashkit_value.3.gz
+man/man3/libhashkit.3.gz
+man/man3/libmemcached.3.gz
+man/man3/libmemcachedutil.3.gz
+man/man3/libmemcached_check_configuration.3.gz
+man/man3/libmemcached_configuration.3.gz
+man/man3/libmemcached_examples.3.gz
+man/man3/memcached.3.gz
+man/man3/memcached_add.3.gz
+man/man3/memcached_add_by_key.3.gz
+man/man3/memcached_analyze.3.gz
+man/man3/memcached_append.3.gz
+man/man3/memcached_append_by_key.3.gz
+man/man3/memcached_behavior_get.3.gz
+man/man3/memcached_behavior_set.3.gz
+man/man3/memcached_callback_get.3.gz
+man/man3/memcached_callback_set.3.gz
+man/man3/memcached_cas.3.gz
+man/man3/memcached_cas_by_key.3.gz
+man/man3/memcached_clone.3.gz
+man/man3/memcached_create.3.gz
+man/man3/memcached_decrement.3.gz
+man/man3/memcached_decrement_with_initial.3.gz
+man/man3/memcached_delete.3.gz
+man/man3/memcached_delete_by_key.3.gz
+man/man3/memcached_destroy_sasl_auth_data.3.gz
+man/man3/memcached_dump.3.gz
+man/man3/memcached_exist.3.gz
+man/man3/memcached_exist_by_key.3.gz
+man/man3/memcached_fetch.3.gz
+man/man3/memcached_flush_buffers.3.gz
+man/man3/memcached_fetch_execute.3.gz
+man/man3/memcached_fetch_result.3.gz
+man/man3/memcached_free.3.gz
+man/man3/memcached_generate_hash.3.gz
+man/man3/memcached_generate_hash_value.3.gz
+man/man3/memcached_get.3.gz
+man/man3/memcached_get_sasl_callbacks.3.gz
+man/man3/memcached_get_by_key.3.gz
+man/man3/memcached_get_memory_allocators.3.gz
+man/man3/memcached_get_user_data.3.gz
+man/man3/memcached_increment.3.gz
+man/man3/memcached_increment_with_initial.3.gz
+man/man3/memcached_last_error_message.3.gz
+man/man3/memcached_lib_version.3.gz
+man/man3/memcached_mget.3.gz
+man/man3/memcached_mget_by_key.3.gz
+man/man3/memcached_mget_execute.3.gz
+man/man3/memcached_mget_execute_by_key.3.gz
+man/man3/memcached_pool.3.gz
+man/man3/memcached_pool_behavior_get.3.gz
+man/man3/memcached_pool_behavior_set.3.gz
+man/man3/memcached_pool_create.3.gz
+man/man3/memcached_pool_destroy.3.gz
+man/man3/memcached_pool_fetch.3.gz
+man/man3/memcached_pool_pop.3.gz
+man/man3/memcached_pool_push.3.gz
+man/man3/memcached_pool_release.3.gz
+man/man3/memcached_pool_st.3.gz
+man/man3/memcached_prepend.3.gz
+man/man3/memcached_prepend_by_key.3.gz
+man/man3/memcached_quit.3.gz
+man/man3/memcached_replace.3.gz
+man/man3/memcached_replace_by_key.3.gz
+man/man3/memcached_sasl_set_auth_data.3.gz
+man/man3/memcached_server_add.3.gz
+man/man3/memcached_server_count.3.gz
+man/man3/memcached_server_cursor.3.gz
+man/man3/memcached_server_list.3.gz
+man/man3/memcached_server_list_append.3.gz
+man/man3/memcached_server_list_count.3.gz
+man/man3/memcached_server_list_free.3.gz
+man/man3/memcached_server_push.3.gz
+man/man3/memcached_servers_parse.3.gz
+man/man3/memcached_set.3.gz
+man/man3/memcached_set_sasl_callbacks.3.gz
+man/man3/memcached_set_by_key.3.gz
+man/man3/memcached_set_memory_allocators.3.gz
+man/man3/memcached_set_user_data.3.gz
+man/man3/memcached_stat.3.gz
+man/man3/memcached_stat_execute.3.gz
+man/man3/memcached_stat_get_keys.3.gz
+man/man3/memcached_stat_get_value.3.gz
+man/man3/memcached_stat_servername.3.gz
+man/man3/memcached_strerror.3.gz
+man/man3/memcached_touch.3.gz
+man/man3/memcached_touch_by_key.3.gz
+man/man3/memcached_verbosity.3.gz
+man/man3/memcached_version.3.gz
 @dirrm include/libmemcachedutil-1.0
 @dirrm include/libmemcachedprotocol-0.0
 @dirrm include/libmemcached-1.0/types


More information about the svn-ports-all mailing list