diff options
author | mnag <mnag@FreeBSD.org> | 2005-12-09 20:48:40 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2005-12-09 20:48:40 +0800 |
commit | f85aff7c47ea69082bbad89b6550a618ef4d4f80 (patch) | |
tree | 5533f101baf9a36ac5621a7f742e6248fa1599dd /databases | |
parent | 01b4d247160bcab6142301a3b170f3aaeaf344a1 (diff) | |
download | freebsd-ports-gnome-f85aff7c47ea69082bbad89b6550a618ef4d4f80.tar.gz freebsd-ports-gnome-f85aff7c47ea69082bbad89b6550a618ef4d4f80.tar.zst freebsd-ports-gnome-f85aff7c47ea69082bbad89b6550a618ef4d4f80.zip |
Mark right dependency (LIB_DEPENDS instead BUILD_DEPENDS)
Bump PORTREVISION
Add secondary master site
Use USE_RC_SUBR=memcached.sh
Add SHA256
PR: 89493
Approved by: seanc (maintainer timeout, 14 days)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/memcached/Makefile | 21 | ||||
-rw-r--r-- | databases/memcached/distinfo | 1 | ||||
-rw-r--r-- | databases/memcached/files/memcached.sh.in (renamed from databases/memcached/files/memcached.sh) | 2 | ||||
-rw-r--r-- | databases/memcached/pkg-plist | 1 |
4 files changed, 12 insertions, 13 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile index 1ebaca4e4b5d..c0defac56f6a 100644 --- a/databases/memcached/Makefile +++ b/databases/memcached/Makefile @@ -7,41 +7,38 @@ PORTNAME= memcached PORTVERSION= 1.1.12 +PORTREVISION= 1 CATEGORIES= databases -MASTER_SITES= http://www.danga.com/memcached/dist/ +MASTER_SITES= http://www.danga.com/memcached/dist/ \ + ${MASTER_SITE_GENTOO} +MASTER_SITE_SUBDIR= distfiles MAINTAINER= seanc@FreeBSD.org COMMENT= High-performance distributed memory object cache system -BUILD_DEPENDS+= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent +LIB_DEPENDS= event-1.1a.1:${PORTSDIR}/devel/libevent USE_REINPLACE= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --program-prefix= +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= memcached.1 DOCS_LIST= memory_management.txt protocol.txt -USE_RC_SUBR= yes - -SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \ - -e 's,%%RC_SUBR%%,${RC_SUBR},g' +USE_RC_SUBR= memcached.sh post-configure: @${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile -post-build: - @${SED} ${SED_SCRIPT} ${FILESDIR}/memcached.sh > ${WRKDIR}/memcached.sh - post-install: ${INSTALL_MAN} ${MAN1:S!^!${WRKSRC}/doc/!} ${MAN1PREFIX}/man/man1 - ${INSTALL_SCRIPT} ${WRKDIR}/memcached.sh ${PREFIX}/etc/rc.d/memcached.sh .ifndef(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" - ${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${DOCS_LIST:S!^!${WRKSRC}/doc/!} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOCS_LIST:S!^!${WRKSRC}/doc/!} ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/databases/memcached/distinfo b/databases/memcached/distinfo index d0fc6b8384bf..a7955ee7ef39 100644 --- a/databases/memcached/distinfo +++ b/databases/memcached/distinfo @@ -1,2 +1,3 @@ MD5 (memcached-1.1.12.tar.gz) = a1236dad33e9ac6c36d53faa8da61780 +SHA256 (memcached-1.1.12.tar.gz) = 6a8e63b02d8576a937dc154232357dbb9c236890be53e9ce0d44e2dba21ca79a SIZE (memcached-1.1.12.tar.gz) = 114103 diff --git a/databases/memcached/files/memcached.sh b/databases/memcached/files/memcached.sh.in index f0082cdeb4a1..202aac5c5e5b 100644 --- a/databases/memcached/files/memcached.sh +++ b/databases/memcached/files/memcached.sh.in @@ -1,5 +1,7 @@ #!/bin/sh # +# $FreeBSD$ +# # PROVIDE: memcached # REQUIRE: NETWORKING diff --git a/databases/memcached/pkg-plist b/databases/memcached/pkg-plist index 67330ebe4cdd..bd06b67299d6 100644 --- a/databases/memcached/pkg-plist +++ b/databases/memcached/pkg-plist @@ -1,5 +1,4 @@ bin/memcached -etc/rc.d/memcached.sh %%PORTDOCS%%%%DOCSDIR%%/memory_management.txt %%PORTDOCS%%%%DOCSDIR%%/protocol.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% |