a813079932
Thoroughly unsubtle, most mkdir -p should probably be INSTALL* at *install stage, and echo/ECHO_MSG is somewhat unsorted. It's quite possible I missed a few automated changes...
31 lines
753 B
Makefile
31 lines
753 B
Makefile
# OpenBSD makefile for: agrep
|
|
# Version required: 2.04
|
|
# Date created: December 1, 1997
|
|
# Whom: Angelos D. Keromytis
|
|
#
|
|
# $OpenBSD: Makefile,v 1.4 2000/02/11 01:10:13 espie Exp $
|
|
#
|
|
|
|
DISTNAME= agrep-2.04
|
|
CATEGORIES= textproc
|
|
NO_CDROM= "NOFEE: Can not sell"
|
|
|
|
MASTER_SITES= ftp://ftp.cs.arizona.edu/agrep/
|
|
EXTRACT_SUFX= .tar.Z
|
|
#DISTFILES= ${DISTNAME}.${EXTRACT_SUFX} agrep.ps.1.Z agrep.ps.2.Z
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
ALL_TARGET=
|
|
MAN1= agrep.1
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/agrep ${PREFIX}/bin
|
|
@${INSTALL_MAN} ${WRKSRC}/agrep.1 ${PREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@mkdir -p ${PREFIX}/share/doc/agrep
|
|
@${INSTALL_MAN} ${WRKSRC}/agrep.algorithms ${PREFIX}/share/doc/agrep
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|