svn commit: r322369 - head/www/serf

Olli Hauer ohauer at FreeBSD.org
Sat Jul 6 08:50:23 UTC 2013


Author: ohauer
Date: Sat Jul  6 08:50:22 2013
New Revision: 322369
URL: http://svnweb.freebsd.org/changeset/ports/322369

Log:
  - remove gmake dependency
  - bump PORTREVISION
  
  PR:		ports/179933
  Submitted by:	Tijl Coosemans tijl@

Modified:
  head/www/serf/Makefile

Modified: head/www/serf/Makefile
==============================================================================
--- head/www/serf/Makefile	Sat Jul  6 08:46:39 2013	(r322368)
+++ head/www/serf/Makefile	Sat Jul  6 08:50:22 2013	(r322369)
@@ -3,6 +3,7 @@
 
 PORTNAME=	serf
 PORTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	GOOGLE_CODE
 MASTER_SITE_SUBDIR=	db
@@ -13,26 +14,27 @@ 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
+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
+
+.include <bsd.port.options.mk>
+
 post-patch:
-	${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in
+	@${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR}
 .endif
 
-check:
-	@cd ${WRKSRC}/ && ${MAKE} check
+regression-test:
+	@(cd ${WRKSRC} && ${MAKE} check)
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list