aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-11 19:03:24 +0800
committerpawel <pawel@FreeBSD.org>2014-06-11 19:03:24 +0800
commita1bee8580f83937de3421ededeb2bca281559702 (patch)
treecaa7ba0154c9a2383201f068a5a232165b177374 /misc
parent05f88658858f10346230367f2683880a9ff0d716 (diff)
downloadfreebsd-ports-gnome-a1bee8580f83937de3421ededeb2bca281559702.tar.gz
freebsd-ports-gnome-a1bee8580f83937de3421ededeb2bca281559702.tar.zst
freebsd-ports-gnome-a1bee8580f83937de3421ededeb2bca281559702.zip
- Add staging support
- Use new LIB_DEPENDS format
Diffstat (limited to 'misc')
-rw-r--r--misc/bb/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/misc/bb/Makefile b/misc/bb/Makefile
index e8e240557250..f03b40932677 100644
--- a/misc/bb/Makefile
+++ b/misc/bb/Makefile
@@ -11,30 +11,24 @@ 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 \
+LIB_DEPENDS= libaa.so:${PORTSDIR}/graphics/aalib \
libmikmod.so:${PORTSDIR}/audio/libmikmod
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_FILES= bin/bb man/man1/bb.1.gz share/bb/bb.s3m share/bb/bb2.s3m \
+ share/bb/bb3.s3m
PLIST_DIRS= share/bb
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
pre-patch:
@${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 ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>