1997-08-11 11:32:36 +02:00
|
|
|
# New ports collection makefile for: beav
|
1995-07-06 06:23:07 +02:00
|
|
|
# Date created: 01 July 1995
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1995-07-06 06:23:07 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1995-07-06 06:23:07 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= beav
|
2002-03-25 13:18:39 +01:00
|
|
|
PORTVERSION= 1.40.15
|
1996-11-11 06:07:53 +01:00
|
|
|
CATEGORIES= editors
|
2002-03-25 13:18:39 +01:00
|
|
|
MASTER_SITES= ftp://ftp.debian.org/debian/pool/main/b/beav/
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}
|
1995-07-06 06:23:07 +02:00
|
|
|
|
2001-09-17 19:40:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1995-07-06 06:23:07 +02:00
|
|
|
|
2002-03-25 13:18:39 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
|
2002-06-21 17:52:35 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-03-25 13:18:39 +01:00
|
|
|
ALL_TARGET= beav
|
|
|
|
|
1998-08-23 04:10:57 +02:00
|
|
|
MAN1= beav.1
|
2002-03-25 13:18:39 +01:00
|
|
|
|
|
|
|
post-patch:
|
2002-06-21 17:52:35 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=-DUNIX -DBSD #|g ; \
|
2002-03-25 13:18:39 +01:00
|
|
|
s|^CC=|CC?=|g ; \
|
2002-06-21 17:52:35 +02:00
|
|
|
s|^(|\$$(|g' ${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/doc/beav|${DOCSDIR}|g' ${WRKSRC}/beav.1
|
2002-03-25 13:18:39 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/beav ${PREFIX}/bin/beav
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/beav.1 ${MANPREFIX}/man/man1/beav.1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/beav140.txt ${DOCSDIR}/beav.txt
|
|
|
|
.endif
|
1995-07-06 06:23:07 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|