freebsd-ports/databases/rubygem-memcache/Makefile
Kubilay Kocak b6450d4ca7 databases/libmemcached: Update to 1.0.18 and much more
- Update to 1.0.18 and pkg-plist accordingly
- Add LICENSE (BSD3CLAUSE) and LICENSE_FILE
- Add TEST_DEPENDS and regression-test target
- Perl is not required, remove USE_PERL and from USES
- Split LDFLAGS from CONFIGURE_ENV, they're already set there
- Add libmemcachedprotocol to CONFIGURE_ARGS (Now default: off)
- Add OPTIONS for hash functions, debug and dtrace
- pkg-descr: Update WWW: URL
- Add patches for:
  * alloca.h include not found on FreeBSD
  * cinttypes include location
  * clang compatibility
- Strip shared libraries manually since upstream install-strip target is
  fail

Changes:

  https://launchpad.net/libmemcached/+announcements

[1] https://bugs.launchpad.net/libmemcached/+bug/1245562
[2] https://bugs.launchpad.net/libmemcached/+bug/1400560

Approved by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer, via email)
2014-12-11 05:26:39 +00:00

28 lines
554 B
Makefile

# Created by: Mikhail T. <michael@fun-box.ru>
# $FreeBSD$
PORTNAME= memcache
PORTVERSION= 1.5.1
PORTREVISION= 1
CATEGORIES= databases rubygems
MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby bindings for libmemcached
LIB_DEPENDS= libmemcached.so:${PORTSDIR}/databases/libmemcached
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
GEM_ENV +=EXTERNAL_LIB="YES"
CONFIGURE_ARGS= "--with-opt-dir=${LOCALBASE}"
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 2.1
BROKEN= Does not build with Ruby 2.1
.endif
.include <bsd.port.post.mk>