aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-09-19 10:02:58 +0800
committerleeym <leeym@FreeBSD.org>2004-09-19 10:02:58 +0800
commit06baa092e6e275a5adf8ab1063d8c2880078a3d1 (patch)
tree53b8e05876d375f4a09772549ddc0e1df43cb26d /misc
parent13a1cc5841c631a707774d123e17f633835b0483 (diff)
downloadfreebsd-ports-gnome-06baa092e6e275a5adf8ab1063d8c2880078a3d1.tar.gz
freebsd-ports-gnome-06baa092e6e275a5adf8ab1063d8c2880078a3d1.tar.zst
freebsd-ports-gnome-06baa092e6e275a5adf8ab1063d8c2880078a3d1.zip
- add USE_GCC=2.95 and unbreak this port
- indent and reorder Makefile and make portlint happier PR: 71851 Submitted by: leeym Approved by: portmgr (marcus)
Diffstat (limited to 'misc')
-rw-r--r--misc/bb/Makefile45
1 files changed, 20 insertions, 25 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index edd76bd516ae..49c66d05fb30 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -5,35 +5,30 @@
# $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
+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
+LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib \
+ mikmod.2:${PORTSDIR}/audio/libmikmod
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
+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"
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -E -e "s@#include +<malloc.h>@#include <stdlib.h>@g" \
+ -e 's, REGISTERS \(3\),,g'
post-install:
.if !defined(NOPORTDOCS)
@@ -41,4 +36,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>