1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

1: Stagify.

2: new syntax of LIB_DEPENDS.
This commit is contained in:
Vanilla I. Shu 2014-06-11 16:21:29 +00:00
parent ca3402513a
commit 264f4f0e93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357503
2 changed files with 13 additions and 4 deletions

View File

@ -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>

View File

@ -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