mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
41 lines
815 B
Makefile
41 lines
815 B
Makefile
# Created by: Craig Rodrigues <rodrigc@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= serf
|
|
PORTVERSION= 1.2.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= GOOGLE_CODE
|
|
MASTER_SITE_SUBDIR= db
|
|
|
|
MAINTAINER= apache@FreeBSD.org
|
|
COMMENT= Serf HTTP client library
|
|
|
|
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr1
|
|
|
|
USE_BZIP2= yes
|
|
USES= pathfix
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \
|
|
--with-apr-util=${LOCALBASE}/bin/apu-1-config
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR}
|
|
.endif
|
|
|
|
regression-test:
|
|
@(cd ${WRKSRC} && ${MAKE} check)
|
|
|
|
.include <bsd.port.mk>
|