diff options
Diffstat (limited to 'benchmarks/netperf/Makefile')
-rw-r--r-- | benchmarks/netperf/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index dd82085f79c..dd2ddd2fc4a 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/04/28 18:58:40 zafer Exp $ +# $NetBSD: Makefile,v 1.7 2009/07/08 14:28:28 joerg Exp $ # DISTNAME= netperf-2.3pl1 @@ -12,19 +12,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.netperf.org/ COMMENT= Rick Jones' network performance benchmarking package +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gzip MAKE_FILE= makefile CFLAGS.IRIX+= -DIRIX +INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/netperf + post-install: - strip ${PREFIX}/netperf/netperf - strip ${PREFIX}/netperf/netserver - ${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/${PKGMANDIR}/man1/netperf.1 - ${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/${PKGMANDIR}/man1/netserver.1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/netperf - ${INSTALL_MAN} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf - ${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps + ${INSTALL_MAN} ${WRKSRC}/netperf.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netperf.1 + ${INSTALL_MAN} ${WRKSRC}/netserver.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netserver.1 + ${INSTALL_MAN} ${WRKSRC}/netperf.ps ${DESTDIR}${PREFIX}/share/doc/netperf + ${GZIP_CMD} ${DESTDIR}${PREFIX}/share/doc/netperf/netperf.ps # The sources assume <malloc.h> exists. Create a fake one for platforms # that don't have it. |