aboutsummaryrefslogtreecommitdiff
path: root/www/http-analyze
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-11 16:12:46 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-11 16:12:46 +0000
commit2ff61c11cef10f376a0b9f5fa73e38f5fd4d6564 (patch)
treec359eb941f0db7f5b64badb6a4b1e93dbeb3bb00 /www/http-analyze
parent53aef00f04e0b5c1796a6849734df6722fac8c5f (diff)
downloadports-2ff61c11cef10f376a0b9f5fa73e38f5fd4d6564.tar.gz
ports-2ff61c11cef10f376a0b9f5fa73e38f5fd4d6564.zip
Notes
Diffstat (limited to 'www/http-analyze')
-rw-r--r--www/http-analyze/Makefile21
-rw-r--r--www/http-analyze/pkg-plist1
2 files changed, 10 insertions, 12 deletions
diff --git a/www/http-analyze/Makefile b/www/http-analyze/Makefile
index eab15a147aa8..63099c44d1bc 100644
--- a/www/http-analyze/Makefile
+++ b/www/http-analyze/Makefile
@@ -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
diff --git a/www/http-analyze/pkg-plist b/www/http-analyze/pkg-plist
index 043330579783..20475557f07d 100644
--- a/www/http-analyze/pkg-plist
+++ b/www/http-analyze/pkg-plist
@@ -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