summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/mgstat/Makefile7
-rw-r--r--www/mgstat/files/patch-Makefile10
2 files changed, 13 insertions, 4 deletions
diff --git a/www/mgstat/Makefile b/www/mgstat/Makefile
index 3e4f9f8b6736..101d1d938b7f 100644
--- a/www/mgstat/Makefile
+++ b/www/mgstat/Makefile
@@ -10,18 +10,17 @@ MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/
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>
diff --git a/www/mgstat/files/patch-Makefile b/www/mgstat/files/patch-Makefile
new file mode 100644
index 000000000000..6e50b39634a4
--- /dev/null
+++ b/www/mgstat/files/patch-Makefile
@@ -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