aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-11 17:36:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-11 17:36:12 +0800
commit10269c6396f46bc5881a7ce7051af1436f1398b2 (patch)
tree87882c809c54dee580125678345a128524419d49
parent196627f224fa9525c8e4e7e9a225b53f7fa4d32e (diff)
downloadfreebsd-ports-graphics-10269c6396f46bc5881a7ce7051af1436f1398b2.tar.gz
freebsd-ports-graphics-10269c6396f46bc5881a7ce7051af1436f1398b2.tar.zst
freebsd-ports-graphics-10269c6396f46bc5881a7ce7051af1436f1398b2.zip
- Fix binary installation
- Drop @dirrm* from plist
-rw-r--r--www/http-analyze/Makefile8
-rw-r--r--www/http-analyze/pkg-plist11
2 files changed, 4 insertions, 15 deletions
diff --git a/www/http-analyze/Makefile b/www/http-analyze/Makefile
index 63099c44d1b..afd8b1608e6 100644
--- a/www/http-analyze/Makefile
+++ b/www/http-analyze/Makefile
@@ -3,7 +3,7 @@
PORTNAME= http-analyze
PORTVERSION= 2.4.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ftp://ftp.rent-a-guru.de/pub/
DIST_SUBDIR= ${PORTNAME}
@@ -17,8 +17,6 @@ COMMENT= Fast Log-Analyzer for web servers
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
-OPTIONS_DEFINE= DOCS EXAMPLES
-
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}
MAKE_ARGS= HA_BINDIR="${PREFIX}/bin" HA_LIBDIR="${DATADIR}" \
@@ -30,10 +28,12 @@ ALL_TARGET= ${PORTNAME}
CPPFLAGS+= $$(gdlib-config --includes)
LDFLAGS+= $$(gdlib-config --ldflags) $$(gdlib-config --libs)
+OPTIONS_DEFINE= DOCS EXAMPLES
+
.include <bsd.port.options.mk>
do-install:
- (cd ${WRKSRC}/src && ${INSTALL_DATA} http-analyze \
+ (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} http-analyze \
${STAGEDIR}${PREFIX}/bin/http-analyze)
(cd ${WRKSRC}/man && ${INSTALL_MAN} http-analyze.man \
${STAGEDIR}${MANPREFIX}/man/man1/http-analyze.1)
diff --git a/www/http-analyze/pkg-plist b/www/http-analyze/pkg-plist
index 20475557f07..dd6caaa368f 100644
--- a/www/http-analyze/pkg-plist
+++ b/www/http-analyze/pkg-plist
@@ -214,14 +214,3 @@ man/man1/http-analyze.1.gz
%%DATADIR%%/logfmt.clf
%%DATADIR%%/logfmt.dlf
%%DATADIR%%/logfmt.elf
-@dirrm %%DATADIR%%/btn-pt_BR
-@dirrm %%DATADIR%%/btn-it
-@dirrm %%DATADIR%%/btn-fr
-@dirrm %%DATADIR%%/btn-de_BY
-@dirrm %%DATADIR%%/btn-de
-@dirrm %%DATADIR%%/btn
-@dirrm %%DATADIR%%
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/tools
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/contrib
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%