Add "do-install" target.

This commit is contained in:
Stefan Eßer 1996-01-02 23:08:59 +00:00
parent bdfe0a2973
commit 2d1df8b704
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=2597
2 changed files with 18 additions and 6 deletions

View file

@ -1,9 +1,9 @@
# New ports collection makefile for: byte
# New ports collection makefile for: bytebench
# Version required:
# Date created: 28 December 1995
# Whom: se
#
# $Id: Makefile,v 1.3 1995/11/22 11:36:48 asami Exp $
# $Id: Makefile,v 1.1.1.1 1996/01/01 22:57:36 se Exp $
#
DISTNAME= bytebench-3.1
@ -13,6 +13,12 @@ MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
MAINTAINER= se@FreeBSD.org
CFLAGS+= -static
do-install:
-mkdir -p $(PREFIX)/lib/bytebench
for f in Makefile README Run doc pgms results testdir; \
do cp -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
echo "!#/bin/sh" > $(PREFIX)/bin/bytebench
echo "$(PREFIX)/lib/bytebench/Run" >> $(PREFIX)/bin/bytebench
chmod 755 $(PREFIX)/bin/bytebench
.include <bsd.port.mk>

View file

@ -1,9 +1,9 @@
# New ports collection makefile for: byte
# New ports collection makefile for: bytebench
# Version required:
# Date created: 28 December 1995
# Whom: se
#
# $Id: Makefile,v 1.3 1995/11/22 11:36:48 asami Exp $
# $Id: Makefile,v 1.1.1.1 1996/01/01 22:57:36 se Exp $
#
DISTNAME= bytebench-3.1
@ -13,6 +13,12 @@ MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
MAINTAINER= se@FreeBSD.org
CFLAGS+= -static
do-install:
-mkdir -p $(PREFIX)/lib/bytebench
for f in Makefile README Run doc pgms results testdir; \
do cp -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
echo "!#/bin/sh" > $(PREFIX)/bin/bytebench
echo "$(PREFIX)/lib/bytebench/Run" >> $(PREFIX)/bin/bytebench
chmod 755 $(PREFIX)/bin/bytebench
.include <bsd.port.mk>