Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 17:50:14 -0800 (PST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/60910
Message-ID:  <200401100150.i0A1oEQN084676@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/60910; it has been noted by GNATS.

From: Edwin Groothuis <edwin@mavetju.org>
To: freebsd-gnats-submit@FreeBSD.org, jim@bluenotch.com
Cc:  
Subject: Re: ports/60910
Date: Sat, 10 Jan 2004 12:42:44 +1100

 Please run portlint before submitting it next time!
 
 --- Makefile	Fri Jan  9 17:40:54 2004
 +++ Makefile.new	Fri Jan  9 17:40:35 2004
 @@ -1,6 +1,6 @@
 -# New ports collection makefile for:   graphdefang
 -# Date created:        17 November 2003
 -# Whom:                jims
 +# New ports collection makefile for:	graphdefang
 +# Date created:		17 November 2003
 +# Whom:			jims
  #
  # $FreeBSD$
  #
 @@ -12,32 +12,32 @@
  		http://www.sleepycat.com/update/snapshot/:sleepycat
  DISTFILES=	${PORTNAME}-${PORTVERSION}.tgz:mymaster ${DBDISTFILE}.tar.gz:sleepycat
  
 -DBDISTFILE=	db-4.1.25
 -
  MAINTAINER=	jims@bluenotch.com
 -COMMENT=	utility to graph various stats from mimedefang
 -
 -NO_CONFIGURE=   "There is no configure or makefile in the source"
 -NO_BUILD=yes
 -#USE_PERL5=YES
 -
 -USE_REINPLACE=yes
 -WRKSRC=      ${WRKDIR}/${DISTNAME}
 -.if !defined(WWWDIR)
 -WWWDIR=/usr/local/www/data/spam
 -.endif
 -
 -
 +COMMENT=	Utility to graph various stats from mimedefang
  
 -RUN_DEPENDS= \
 -	${PREFIX}/mimedefang.pl:${PORTSDIR}/mail/mimedefang \
 +RUN_DEPENDS=	\
 +	${LOCALBASE}/mimedefang.pl:${PORTSDIR}/mail/mimedefang \
  	${SITE_PERL}/File/ReadBackwards.pm:${PORTSDIR}/devel/p5-File-ReadBackwards \
   	${SITE_PERL}/GD.pm/:${PORTSDIR}/graphics/p5-GD \
  	${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph \
  	${SITE_PERL}/GD/TextUtil.pm:${PORTSDIR}/graphics/p5-GD-TextUtil \
  	${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
  	${SITE_PERL}/Date/Format.pm:${PORTSDIR}/devel/p5-TimeDate \
 -	${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM 
 +	${SITE_PERL}/MLDBM.pm:${PORTSDIR}/databases/p5-MLDBM
 +
 +DBDISTFILE=	db-4.1.25
 +
 +NO_BUILD=	yes
 +USE_PERL5_RUN=	yes
 +USE_PERL5_BUILD=yes
 +USE_REINPLACE=	yes
 +WRKSRC=		${WRKDIR}/${DISTNAME}
 +
 +.if !defined(WWWDIR)
 +WWWDIR=		${LOCALBASE}/www/data/spam
 +.endif
 +
 +PORTDOCS=	README
  
  post-extract:
  	@${REINPLACE_CMD} \
 @@ -52,10 +52,11 @@
  		-e 's|.GRAPHDEFANGDIR/SummaryDB.db|/bar/db/${PORTNAME}/SummaryDB.db|' \
  		${WRKSRC}/web/*.*
  
 -# Now for a generic BerkleyDB.4.1 (too bad ports doesn't work, I'm too busy and unmotivated to figure it out)
 +# Now for a generic BerkleyDB.4.1 (too bad ports doesn't work, I'm too
 +# busy and unmotivated to figure it out)
  pre-install:
  	@(cd ${WRKDIR}/${DBDISTFILE}/dist; ./configure; make)
 -	@(cd ${WRKDIR}/${DBDISTFILE}/perl/DB_File; perl Makefile.PL; make; make test)
 +	@(cd ${WRKDIR}/${DBDISTFILE}/perl/DB_File; ${PERL} Makefile.PL; make; make test)
  
  do-install:
  	@${MKDIR} ${PREFIX}/libexec/${PORTNAME}
 
 
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401100150.i0A1oEQN084676>