freebsd-ports/misc/bb/Makefile
Clement Laforet 6b40729543 misc category cleanup part 1 of 6:
- Use DATADIR/DOCSDIR/PORTSDOC
- SIZEify port (except biblereader)
- make portlint happy

* Howto:
    - use BZIP2_CMD and UNZIP_CMD
    - fix MASTER_SITES
    - update NIS-HOWTO
    - make portlint happy
    - bump PORTREVISION

* bb
    - kill pkg-plist

* boxes
    - kill pkg-plist

PR:                 61024
Submitted by:       Vincent Tantardini <vinc@FreeBSD-fr.org>
Updated/reworked by: me
2004-02-11 13:25:38 +00:00

39 lines
938 B
Makefile

# New ports collection makefile for: bb
# Date created: 22 June 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
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
COMMENT= High quality audio-visual demonstration for text terminal
LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
mikmod.2:${PORTSDIR}/audio/libmikmod
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
pre-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g"
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>