Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 00:20:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340511 - head/devel/libbnr
Message-ID:  <201401210020.s0L0KuG6066232@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 21 00:20:56 2014
New Revision: 340511
URL: http://svnweb.freebsd.org/changeset/ports/340511
QAT: https://qat.redports.org/buildarchive/r340511/

Log:
  Support stage
  Use new options format

Modified:
  head/devel/libbnr/Makefile

Modified: head/devel/libbnr/Makefile
==============================================================================
--- head/devel/libbnr/Makefile	Tue Jan 21 00:15:31 2014	(r340510)
+++ head/devel/libbnr/Makefile	Tue Jan 21 00:20:56 2014	(r340511)
@@ -11,24 +11,21 @@ MASTER_SITES=	http://dspam.nuclearelepha
 MAINTAINER=	itetcu@FreeBSD.org
 COMMENT=	GPL implementation of the Bayesian Noise Reduction algorithm
 
+OPTIONS_DEFINE=	DOCS DEBUG
+
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 CONFIGURE_ARGS+=	--includedir=${PREFIX}/include/${PORTNAME}
 
-.ifdef(WITH_DEBUG)
-CFLAGS+=	-g -DDEBUG
-.endif
+DEBUG_CFLAGS=	-g -DDEBUG
 
 PORTDOCS=	README
 
-NO_STAGE=	yes
 post-install:
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
-.ifndef(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR}
+	@${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?201401210020.s0L0KuG6066232>