- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
31 lines
675 B
Makefile
31 lines
675 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= httpsqs
|
|
PORTVERSION= 1.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= www devel
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= lichray@gmail.com
|
|
COMMENT= Simple Queue Service based on HTTP GET/POST protocol
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
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>
|