Remove libevent as libevent2 is providing a good compatibility interface as well as providing better performances. Remove custom patches from libevent2 and install libevent2 the regular way Mark ports abusing private fields of the libevent1 API as broken Import a patch from fedora to have honeyd working with libevent2 Remove most of the patches necessary to find the custom installation we used to have for libevent2 With hat: portmgr
30 lines
683 B
Makefile
30 lines
683 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= httpsqs
|
|
PORTVERSION= 1.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= www devel
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
|
|
MAINTAINER= lichray@gmail.com
|
|
COMMENT= Simple Queue Service based on HTTP GET/POST protocol
|
|
|
|
LICENSE= BSD
|
|
|
|
LIB_DEPENDS+= libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet \
|
|
libevent.so:${PORTSDIR}/devel/libevent2
|
|
|
|
USES= pkgconfig
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-patch:
|
|
${CP} ${PATCHDIR}/Makefile ${WRKSRC}
|
|
@${REINPLACE_CMD} -e 's|{ 0 }|"${PREFIX}/bin/${PORTNAME}"|' \
|
|
${WRKSRC}/httpsqs.c
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|