aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2013-09-30 01:40:22 +0800
committerohauer <ohauer@FreeBSD.org>2013-09-30 01:40:22 +0800
commit19206142f3c95fe213532278488c2644d8484d44 (patch)
tree9ef4b5204f57ca4c2e70b33e359ef4041d4aa01f /databases
parent8baffe688a7b8978671b2706e017929d1b5268fa (diff)
downloadfreebsd-ports-gnome-19206142f3c95fe213532278488c2644d8484d44.tar.gz
freebsd-ports-gnome-19206142f3c95fe213532278488c2644d8484d44.tar.zst
freebsd-ports-gnome-19206142f3c95fe213532278488c2644d8484d44.zip
- update to 1.0.7
- add stage support PR: ports/182410 Submitted by: Ivan Voras <ivoras@FreeBSD.org> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r--databases/mdcached/Makefile31
-rw-r--r--databases/mdcached/distinfo4
-rw-r--r--databases/mdcached/pkg-plist1
3 files changed, 15 insertions, 21 deletions
diff --git a/databases/mdcached/Makefile b/databases/mdcached/Makefile
index b10d2a57bc3d..ed3477dd1e9d 100644
--- a/databases/mdcached/Makefile
+++ b/databases/mdcached/Makefile
@@ -2,23 +2,21 @@
# $FreeBSD$
PORTNAME= mdcached
-PORTVERSION= 1.0.6
+PORTVERSION= 1.0.7
CATEGORIES= databases net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ivoras@FreeBSD.org
-COMMENT= A high performance cache server similar to memcached
+COMMENT= High performance cache server similar to memcached
LICENSE= BSD
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
USE_LDCONFIG= yes
-MAN1= ${PORTNAME}.1
PORTDOCS= UserGuide.txt mdcached.txt
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} 's|ADDCFLAGS = -Wall -g -O3 -march=native|ADDCFLAGS = ${CFLAGS}|' \
${WRKSRC}/Makefile
@@ -26,20 +24,15 @@ post-patch:
${WRKSRC}/FreeBSD/${PORTNAME}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so.1 ${PREFIX}/lib
- ${LN} -s lib${PORTNAME}.so.1 ${PREFIX}/lib/lib${PORTNAME}.so
- ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/mc_protocol.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/mc_client.h ${PREFIX}/include
- ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1
- ${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/${PORTNAME} ${PREFIX}/etc/rc.d
-
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- for doc in ${PORTDOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/doc/$${doc} ${DOCSDIR}; \
- done
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.so.1 ${STAGEDIR}${PREFIX}/lib
+ ${LN} -sf lib${PORTNAME}.so.1 ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so
+ ${INSTALL_LIB} ${WRKSRC}/lib${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/mc_protocol.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/mc_client.h ${STAGEDIR}${PREFIX}/include
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/FreeBSD/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/rc.d
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/databases/mdcached/distinfo b/databases/mdcached/distinfo
index 9b212431c531..303941399db2 100644
--- a/databases/mdcached/distinfo
+++ b/databases/mdcached/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mdcached-1.0.6.tgz) = a301d41429909dc26570247a04b399b8ea3e6e78e606d82d84707df17a207b03
-SIZE (mdcached-1.0.6.tgz) = 277271
+SHA256 (mdcached-1.0.7.tgz) = 7a28179aec83ba5e2305e1616fbf8baa8b00f0fd4a87002579d65ca2239ec040
+SIZE (mdcached-1.0.7.tgz) = 282748
diff --git a/databases/mdcached/pkg-plist b/databases/mdcached/pkg-plist
index c36a903f869b..dacd5d344263 100644
--- a/databases/mdcached/pkg-plist
+++ b/databases/mdcached/pkg-plist
@@ -5,3 +5,4 @@ include/mc_protocol.h
lib/libmdcached.a
lib/libmdcached.so
lib/libmdcached.so.1
+man/man1/mdcached.1.gz