svn commit: r340511 - head/devel/libbnr
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jan 21 00:20:57 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list