1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/www/mongrel2/Makefile
Kubilay Kocak c71b83c89e devel/zmq: Move to net/libzmq2 & update to align with other ZeroMQ ports
All other core ZeroMQ library ports have been moved to the net/ category
along with the czmq client library. This change completes the set,
enabling greater flexibility and choice for maintainers of ZeroMQ-based
software in the ports tree.

- Move devel/zmq to net/libzmq2
- Update devel/ and net/ category Makefiles
- Add MOVED entry
- Update LIB_DEPENDS in dependent ports

net/libzmq2:

- Switch primary category to net
- Enable STAGE support
- Add DEBUG option
- Update COMMENT to match libzmq[34]
- Update pkg-descr to match libzmq[34]
- Update CONFLICTS
- Add LICENSE
- Sort USE_* section
- Remove MAN macros and move entries to pkg-plist
- Add regression-test target for QA

Reviewed by:	makc
Approved by:	Gea-Suan Lin <gslin@gslin.org> (maintainer, via email)
2013-12-04 14:08:03 +00:00

53 lines
999 B
Makefile

# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
# $FreeBSD$
PORTNAME= mongrel2
PORTVERSION= 1.7.5
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://mongrel2.org/static/downloads/
MAINTAINER= vg@FreeBSD.org
COMMENT= Is an application, language, and network arch
LIB_DEPENDS= zmq.1:${PORTSDIR}/net/libzmq2 \
sqlite3.8:${PORTSDIR}/databases/sqlite3
USE_GMAKE= yes
USE_BZIP2= yes
MAKE_FLAGS= freebsd
EXAMPLES_LIST= bbs \
chat \
configs \
http_0mq \
kegogi \
mp3stream \
procer \
python \
tornado \
zcov
OPTIONS_DEFINE= EXAMPLES
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
PLIST_SUB+= EXAMPLES=""
.else
PLIST_SUB+= EXAMPLES="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile
post-install:
.if defined(WITH_EXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
.for examples in ${EXAMPLES_LIST}
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${examples} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>