1997-08-11 09:32:36 +00:00
|
|
|
# New ports collection makefile for: beav
|
1995-07-06 04:23:07 +00:00
|
|
|
# Date created: 01 July 1995
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1995-07-06 04:23:07 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1995-07-06 04:23:07 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 00:25:54 +00:00
|
|
|
PORTNAME= beav
|
2004-09-12 19:08:56 +00:00
|
|
|
PORTVERSION= 1.40.18
|
1996-11-11 05:07:53 +00:00
|
|
|
CATEGORIES= editors
|
2003-08-04 10:47:28 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
2004-09-12 19:08:56 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:R}.orig
|
|
|
|
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E}.diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
1995-07-06 04:23:07 +00:00
|
|
|
|
2001-09-17 17:40:31 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-13 01:53:09 +00:00
|
|
|
COMMENT= Binary Editor And Viewer, a full featured binary file editor
|
1995-07-06 04:23:07 +00:00
|
|
|
|
2004-09-12 19:08:56 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S/.//}
|
2002-03-25 12:18:39 +00:00
|
|
|
|
2002-06-21 15:52:35 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-03-25 12:18:39 +00:00
|
|
|
ALL_TARGET= beav
|
|
|
|
|
1998-08-23 02:10:57 +00:00
|
|
|
MAN1= beav.1
|
2002-03-25 12:18:39 +00:00
|
|
|
|
|
|
|
post-patch:
|
2004-06-12 22:02:10 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=-DUNIX -DBSD -DNOPROTO#|g ; \
|
2002-03-25 12:18:39 +00:00
|
|
|
s|^CC=|CC?=|g ; \
|
2002-06-21 15:52:35 +00:00
|
|
|
s|^(|\$$(|g' ${WRKSRC}/Makefile
|
2004-09-12 19:08:56 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/doc/beav|${DOCSDIR}|g ; \
|
|
|
|
s|beav140.txt.gz|beav.txt|' ${WRKSRC}/beav.1
|
2002-03-25 12:18:39 +00: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 04:23:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|