27 lines
735 B
Makefile
27 lines
735 B
Makefile
# $NetBSD: Makefile,v 1.6 2009/04/29 09:20:40 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= ubench-0.32
|
|
PKGREVISION= 1
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://www.phystech.com/ftp/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.phystech.com/download/ubench.html
|
|
COMMENT= The Unix Benchmark utility
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_TARGET= ubench
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/ubench
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_STAGE.path= post-configure
|
|
SUBST_FILES.path= Makefile
|
|
SUBST_SED.path= -e "s,/usr/local,${DESTDIR}${PREFIX},"
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/ubench.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ubench
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|