svn commit: r317373 - head/www/srg

Baptiste Daroussin bapt at FreeBSD.org
Sat May 4 22:01:19 UTC 2013


Author: bapt
Date: Sat May  4 22:01:18 2013
New Revision: 317373
URL: http://svnweb.freebsd.org/changeset/ports/317373

Log:
  Fix build with bmake

Modified:
  head/www/srg/Makefile

Modified: head/www/srg/Makefile
==============================================================================
--- head/www/srg/Makefile	Sat May  4 22:00:55 2013	(r317372)
+++ head/www/srg/Makefile	Sat May  4 22:01:18 2013	(r317373)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	srg
-# Date created:		28 June 2004
-# Whom:			Dmitry Semkin <lslarry at gmail.com>
-#
+# Created by: Dmitry Semkin <lslarry at gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	srg
 PORTVERSION=	1.3.6
@@ -17,19 +13,25 @@ COMMENT=	A Squid Report Generator
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+.if defined(.PARSEDIR)
+USE_GMAKE=	yes
+.endif
+
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 MAKE_JOBS_SAFE=	yes
 
 MAN1=		srg.1
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/CPPFLAGS/s|-I/usr/local/include|| ; \
 		 /LDFLAGS/s|-L/usr/local/lib||' ${WRKSRC}/configure
 
 post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 .for ex in srg.daily srg.monthly srg.weekly
 	${INSTALL_DATA} ${WRKSRC}/examples/${ex} ${EXAMPLESDIR}


More information about the svn-ports-all mailing list