aboutsummaryrefslogtreecommitdiff
path: root/databases/memcached/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/memcached/Makefile')
-rw-r--r--databases/memcached/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile
index 1c3c9ccac47b..55de2f58934f 100644
--- a/databases/memcached/Makefile
+++ b/databases/memcached/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= memcached
-PORTVERSION= 1.1.8
+PORTVERSION= 1.1.10
CATEGORIES= databases
MASTER_SITES= http://www.danga.com/memcached/dist/
@@ -15,11 +15,22 @@ COMMENT= High-performance distributed memory object cache system
BUILD_DEPENDS+= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
-PLIST_FILES= bin/memcached
USE_AUTOMAKE= YES
WANT_AUTOCONF_VER= 253
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-libevent=${LOCALBASE}
+CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --program-prefix=
+
+MAN1= memcached.1
+
+DOCS_LIST= memory_management.txt protocol.txt
+
+post-install:
+ ${INSTALL_MAN} ${MAN1:S!^!${WRKSRC}/doc/!} ${MAN1PREFIX}/man/man1
+.ifndef(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
+ ${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${DOCS_LIST:S!^!${WRKSRC}/doc/!} ${DOCSDIR}
+.endif
.include <bsd.port.mk>