Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 16:21:29 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357503 - in head/www/mgstat: . files
Message-ID:  <201406111621.s5BGLTBG065176@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jun 11 16:21:29 2014
New Revision: 357503
URL: http://svnweb.freebsd.org/changeset/ports/357503
QAT: https://qat.redports.org/buildarchive/r357503/

Log:
  1: Stagify.
  2: new syntax of LIB_DEPENDS.

Added:
  head/www/mgstat/files/
  head/www/mgstat/files/patch-Makefile   (contents, props changed)
Modified:
  head/www/mgstat/Makefile

Modified: head/www/mgstat/Makefile
==============================================================================
--- head/www/mgstat/Makefile	Wed Jun 11 16:15:17 2014	(r357502)
+++ head/www/mgstat/Makefile	Wed Jun 11 16:21:29 2014	(r357503)
@@ -10,18 +10,17 @@ MASTER_SITES=	http://wizard.ae.krakow.pl
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Produce graphs from mod_gzip log files
 
-LIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd
 
 GNU_CONFIGURE=	yes
 
 PORTDOCS=	Copyright README USAGE
 PLIST_FILES=	bin/mgstat
 
-NO_STAGE=	yes
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Added: head/www/mgstat/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mgstat/files/patch-Makefile	Wed Jun 11 16:21:29 2014	(r357503)
@@ -0,0 +1,10 @@
+--- Makefile.in.orig	2014-06-12 00:19:19.436431985 +0800
++++ Makefile.in	2014-06-12 00:19:41.034432038 +0800
+@@ -68,5 +68,4 @@ distclean:
+ 	make clean
+ 	rm -f config.cache config.status config.log Makefile 
+ install:
+-	$(INSTALL) -s -o root -m 0755 mgstat $(bindir)/mgstat
+-	
+\ No newline at end of file
++	$(INSTALL) -s -o root -m 0755 mgstat $(DESTDIR)$(bindir)/mgstat



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