diff options
author | mnag <mnag@FreeBSD.org> | 2006-02-02 22:30:46 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-02-02 22:30:46 +0800 |
commit | 9aeeee0ce380155a41d479c6a48c188c83e4fd9c (patch) | |
tree | 3edfb13dc550f9d91875f1a23cbf713a5c58a543 /databases/memcached/Makefile | |
parent | 46bd8c25453ed9abf72dfedc27502bb6b51b8ebc (diff) | |
download | freebsd-ports-gnome-9aeeee0ce380155a41d479c6a48c188c83e4fd9c.tar.gz freebsd-ports-gnome-9aeeee0ce380155a41d479c6a48c188c83e4fd9c.tar.zst freebsd-ports-gnome-9aeeee0ce380155a41d479c6a48c188c83e4fd9c.zip |
- Fix REQUIRED in rc script
- Add option to change startup user in rc script
- Reorganize Makefile and rc script
- Remove pkg-plist and add PLIST_FILES and PORTDOCS
- Bump PORTREVISION
PR: 91931
Submitted by: mnag
Approved by: seanc (maintainer timeout 15 days)
Diffstat (limited to 'databases/memcached/Makefile')
-rw-r--r-- | databases/memcached/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile index c0defac56f6a..74539ee2c485 100644 --- a/databases/memcached/Makefile +++ b/databases/memcached/Makefile @@ -7,7 +7,7 @@ PORTNAME= memcached PORTVERSION= 1.1.12 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= http://www.danga.com/memcached/dist/ \ ${MASTER_SITE_GENTOO} @@ -18,27 +18,28 @@ COMMENT= High-performance distributed memory object cache system LIB_DEPENDS= event-1.1a.1:${PORTSDIR}/devel/libevent -USE_REINPLACE= YES +USE_RC_SUBR= memcached GNU_CONFIGURE= YES - -CONFIGURE_ARGS+= --with-libevent=${LOCALBASE} --program-prefix= +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 +PLIST_FILES= bin/memcached -USE_RC_SUBR= memcached.sh +PORTDOCS= memory_management.txt protocol.txt post-configure: @${REINPLACE_CMD} -e 's#doc/memcached.1##' ${WRKSRC}/Makefile post-install: - ${INSTALL_MAN} ${MAN1:S!^!${WRKSRC}/doc/!} ${MAN1PREFIX}/man/man1 -.ifndef(NOPORTDOCS) + ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1 +.if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOCS_LIST:S!^!${WRKSRC}/doc/!} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk> |