diff options
author | mnag <mnag@FreeBSD.org> | 2008-04-13 11:00:55 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2008-04-13 11:00:55 +0800 |
commit | 0060277d6d6c97b193da436d5831cb82e49b4c74 (patch) | |
tree | b154072a55fed079b98cf7ff379cda7396a1c705 /databases/memcached/Makefile | |
parent | faf8720e9a862e102f1df8a6b4bae9fc85338c9c (diff) | |
download | freebsd-ports-gnome-0060277d6d6c97b193da436d5831cb82e49b4c74.tar.gz freebsd-ports-gnome-0060277d6d6c97b193da436d5831cb82e49b4c74.tar.zst freebsd-ports-gnome-0060277d6d6c97b193da436d5831cb82e49b4c74.zip |
- Update to 1.2.5
- Add option to compile with repcached patch
PR: 122681
Submitted by: Tomoyuki Sakurai <cherry___trombik.org>
Diffstat (limited to 'databases/memcached/Makefile')
-rw-r--r-- | databases/memcached/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile index 10ef4348e7f4..7d53e017b563 100644 --- a/databases/memcached/Makefile +++ b/databases/memcached/Makefile @@ -6,7 +6,7 @@ # PORTNAME= memcached -PORTVERSION= 1.2.4 +PORTVERSION= 1.2.5 CATEGORIES= databases MASTER_SITES= http://www.danga.com/memcached/dist/ \ ${MASTER_SITE_GENTOO} @@ -22,6 +22,8 @@ GNU_CONFIGURE= YES CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-prefix= CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +OPTIONS= REPCACHED "Enable data replication feature" off + MAN1= memcached.1 PLIST_FILES= bin/memcached \ @@ -29,6 +31,18 @@ PLIST_FILES= bin/memcached \ PORTDOCS= memory_management.txt protocol.txt +.include <bsd.port.pre.mk> + +.if defined(WITH_REPCACHED) +# WWW: http://repcached.lab.klab.org/ +PATCH_SITES+= ${MASTER_SITE_SOURCEFORGE} +PATCH_SITE_SUBDIR= repcached +PATCH_DIST_STRIP+= -p1 +REPCACHED_VERSION= 2.0 +PATCHFILES+= repcached-${REPCACHED_VERSION}-${PORTVERSION}.patch.gz +CONFIGURE_ARGS+= --enable-replication --disable-threads +.endif + post-configure: @${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile @@ -45,4 +59,4 @@ post-install: test: ${MAKE} -C ${WRKSRC} test -.include <bsd.port.mk> +.include <bsd.port.post.mk> |