Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 16:12:46 +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: r357501 - head/www/http-analyze
Message-ID:  <201406111612.s5BGCk2d061595@svn.freebsd.org>

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

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

Modified:
  head/www/http-analyze/Makefile
  head/www/http-analyze/pkg-plist

Modified: head/www/http-analyze/Makefile
==============================================================================
--- head/www/http-analyze/Makefile	Wed Jun 11 16:09:10 2014	(r357500)
+++ head/www/http-analyze/Makefile	Wed Jun 11 16:12:46 2014	(r357501)
@@ -15,7 +15,7 @@ PATCHFILES=	patch04.gz
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Fast Log-Analyzer for web servers
 
-LIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd
+LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
@@ -30,28 +30,25 @@ ALL_TARGET=	${PORTNAME}
 CPPFLAGS+=	$$(gdlib-config --includes)
 LDFLAGS+=	$$(gdlib-config --ldflags) $$(gdlib-config --libs)
 
-MAN1=		http-analyze.1
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-install:
 	(cd ${WRKSRC}/src && ${INSTALL_DATA} http-analyze \
-		${PREFIX}/bin/http-analyze)
+		${STAGEDIR}${PREFIX}/bin/http-analyze)
 	(cd ${WRKSRC}/man && ${INSTALL_MAN} http-analyze.man \
-		${MANPREFIX}/man/man1/http-analyze.1)
-	@${MKDIR} ${DATADIR}
-	@(cd ${WRKSRC}/files && ${COPYTREE_SHARE} . ${DATADIR})
+		${STAGEDIR}${MANPREFIX}/man/man1/http-analyze.1)
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	@(cd ${WRKSRC}/files && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in http-analyze.pdf http-analyze.ps.gz
-	(cd ${WRKSRC}/man && ${INSTALL_DATA} ${i} ${DOCSDIR})
+	(cd ${WRKSRC}/man && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
 .endfor
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for i in contrib tools
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${EXAMPLESDIR})
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${EXAMPLESDIR})
 .endfor
 .endif
 

Modified: head/www/http-analyze/pkg-plist
==============================================================================
--- head/www/http-analyze/pkg-plist	Wed Jun 11 16:09:10 2014	(r357500)
+++ head/www/http-analyze/pkg-plist	Wed Jun 11 16:12:46 2014	(r357501)
@@ -1,4 +1,5 @@
 bin/http-analyze
+man/man1/http-analyze.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/http-analyze.pdf
 %%PORTDOCS%%%%DOCSDIR%%/http-analyze.ps.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/contrib/README



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