1998-07-13 01:43:23 +02:00
|
|
|
# New ports collection makefile for: bb
|
|
|
|
# Date created: 22 June 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 09:23:21 +02:00
|
|
|
# $FreeBSD$
|
1998-07-13 01:43:23 +02:00
|
|
|
#
|
|
|
|
|
2004-09-19 04:02:58 +02:00
|
|
|
PORTNAME= bb
|
|
|
|
PORTVERSION= 1.3.r1
|
|
|
|
CATEGORIES= misc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=aa-project
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= High quality audio-visual demonstration for text terminal
|
1998-07-13 01:43:23 +02:00
|
|
|
|
2004-09-19 04:02:58 +02:00
|
|
|
LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
|
|
|
|
mikmod.2:${PORTSDIR}/audio/libmikmod
|
1998-07-13 01:43:23 +02:00
|
|
|
|
2004-09-19 04:02:58 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/bb-1.3.0
|
|
|
|
MAN1= bb.1
|
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/bb share/bb/bb.s3m share/bb/bb2.s3m share/bb/bb3.s3m
|
|
|
|
PLIST_DIRS= share/bb
|
2004-09-18 01:02:58 +02:00
|
|
|
|
2002-01-26 08:54:29 +01:00
|
|
|
pre-patch:
|
2004-09-19 04:02:58 +02:00
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g" \
|
|
|
|
-e 's, REGISTERS \(3\),,g'
|
2002-01-26 08:54:29 +01:00
|
|
|
|
2002-03-28 01:15:26 +01:00
|
|
|
post-install:
|
1998-07-13 01:43:23 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-12-24 03:17:17 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-02-11 14:25:38 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
1998-07-13 01:43:23 +02:00
|
|
|
.endif
|
|
|
|
|
2004-09-19 04:02:58 +02:00
|
|
|
.include <bsd.port.mk>
|