1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/www/serf/Makefile
Olli Hauer c4fb8b8dc1 - add Apache2 license
- unbreak devel/subversion-static and
  devel/subversion (with STATIC=on)
  by installing a absolute minimum libserf-1.la file
- bump PORTREVISION
2013-11-09 20:21:36 +00:00

48 lines
1.0 KiB
Makefile

# Created by: Craig Rodrigues <rodrigc@FreeBSD.org>
# $FreeBSD$
PORTNAME= serf
PORTVERSION= 1.3.2
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= GOOGLE_CODE
MAINTAINER= apache@FreeBSD.org
COMMENT= Serf HTTP client library
LICENSE= AL2
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1
USE_SCONS= yes
USE_BZIP2= yes
USE_OPENSSL= yes
USE_LDCONFIG= yes
SUB_FILES= libserf-1.la
OPTIONS_DEFINE= DOCS
SCONS_ENV= # empty
SCONS_BUILDENV= # empty
SCONS_ARGS= APR=${LOCALBASE}/bin/apr-1-config
SCONS_ARGS+= APU=${LOCALBASE}/bin/apu-1-config
SCONS_ARGS+= OPENSSL=${OPENSSLBASE}
SCONS_ARGS+= PREFIX=${PREFIX}
SCONS_ARGS+= CC=${CC}
SCONS_ARGS+= CFLAGS="${CFLAGS}"
SCONS_INSTALL_TARGET= install --install-sandbox=${STAGEDIR}
post-patch:
@${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/build/serf.pc.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${SUB_FILES:S|^|${WRKDIR}/|} ${STAGEDIR}${PREFIX}/lib
regression-test check: build
@(cd ${WRKSRC} && ${SCONS_BIN} check)
.include <bsd.port.mk>