[Midnightbsd-cvs] mports: Makefile: Fix the siege.config so that it has the real datadir

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Oct 24 20:51:52 EDT 2007


Log Message:
-----------
Fix the siege.config so that it has the real datadir and not our fake directory.

detected on magus.


add license.

Modified Files:
--------------
    mports/benchmarks/siege:
        Makefile (r1.2 -> r1.3)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/benchmarks/siege/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lbenchmarks/siege/Makefile -Lbenchmarks/siege/Makefile -u -r1.2 -r1.3
--- benchmarks/siege/Makefile
+++ benchmarks/siege/Makefile
@@ -8,11 +8,13 @@
 
 PORTNAME=	siege
 PORTVERSION=	2.66
+PORTREVISION=	1
 CATEGORIES=	benchmarks
 MASTER_SITES=	ftp://sid.joedog.org/pub/siege/
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	A http regression testing and benchmarking utility
+LICENSE=	gpl2
 
 GNU_CONFIGURE=	yes
 USE_OPENSSL=	yes
@@ -36,7 +38,9 @@
 	@${INSTALL_MAN} ${WRKSRC}/doc/${MAN7} ${MAN1PREFIX}/man/man7
 	@${MKDIR} ${DATADIR}
 	@${INSTALL_DATA} ${WRKSRC}/doc/siegerc ${DATADIR}
-	@${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/siege.config.in > ${PREFIX}/bin/siege.config
-	@${CHMOD} 555 ${PREFIX}/bin/siege.config
+
+post-fake:
+	@${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/siege.config.in > ${FAKE_DESTDIR}${PREFIX}/bin/siege.config
+	@${CHMOD} 555 ${FAKE_DESTDIR}${PREFIX}/bin/siege.config
 
 .include <bsd.port.post.mk>


More information about the Midnightbsd-cvs mailing list