Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2014 11:03:24 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357462 - head/misc/bb
Message-ID:  <201406111103.s5BB3O2t008107@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Jun 11 11:03:24 2014
New Revision: 357462
URL: http://svnweb.freebsd.org/changeset/ports/357462
QAT: https://qat.redports.org/buildarchive/r357462/

Log:
  - Add staging support
  - Use new LIB_DEPENDS format

Modified:
  head/misc/bb/Makefile

Modified: head/misc/bb/Makefile
==============================================================================
--- head/misc/bb/Makefile	Wed Jun 11 10:23:57 2014	(r357461)
+++ head/misc/bb/Makefile	Wed Jun 11 11:03:24 2014	(r357462)
@@ -11,30 +11,24 @@ DISTNAME=	${PORTNAME}-${PORTVERSION:S/.r
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406111103.s5BB3O2t008107>