1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/www/serf/Makefile
Eitan Adler 334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
If a port used other USE_GNOME items it was untouched.
The ports that used other USES were fixed by hand.

PR:		ports/177081
Reviewed by:	bapt
Approved by:	portmgr (miwi)
2013-03-19 13:04:30 +00:00

39 lines
770 B
Makefile

# Created by: Craig Rodrigues <rodrigc@FreeBSD.org>
# $FreeBSD$
PORTNAME= serf
PORTVERSION= 1.2.0
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
MAKE_JOBS_SAFE= yes
PROJECTHOST= serf
USE_BZIP2= yes
USE_GMAKE= 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
post-patch:
${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR}
.endif
check:
@cd ${WRKSRC}/ && ${MAKE} check
.include <bsd.port.mk>