summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2013-12-07 17:40:05 +0000
committeradamw <adamw@FreeBSD.org>2013-12-07 17:40:05 +0000
commit0189b7ffe983abb4ee4c541dc12bbc25bd60dcaa (patch)
treef6825ee19f09ca876c6d0c6c36bf3034abc06848
parent9e692f4924cf16386aae53892e0c08315e0f6a55 (diff)
downloadFreeBSD-ports-0189b7ffe983abb4ee4c541dc12bbc25bd60dcaa.zip
FreeBSD-ports-0189b7ffe983abb4ee4c541dc12bbc25bd60dcaa.tar.gz
Support staging
Don't force running the optional regression tests
-rw-r--r--databases/libpbl/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/databases/libpbl/Makefile b/databases/libpbl/Makefile
index f25d559..8545b1b 100644
--- a/databases/libpbl/Makefile
+++ b/databases/libpbl/Makefile
@@ -11,15 +11,12 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Peter Graf's Program Base Library
MAKEFILE= makefile
-PLIST_FILES= lib/libpbl.a include/pbl.h
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-.ifndef(NOPORTDOCS)
+PLIST_FILES=lib/libpbl.a include/pbl.h
PORTDOCS= *
-.endif
-NO_STAGE= yes
post-extract:
@${REINPLACE_CMD} -e 's/= -Wall -O3/+= -Wall -Werror/' \
-e 's/^CC=/CC?=/' -e '/^.rm -f/d' ${WRKSRC}/makefile
@@ -29,15 +26,12 @@ post-extract:
${WRKSRC}/*.c
do-install:
- ${MKDIR} ${PREFIX}/lib ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/libpbl.a ${PREFIX}/lib/
- ${INSTALL_DATA} ${WRKSRC}/pbl.h ${PREFIX}/include/
-.ifndef(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/
-.endif
-
-post-build test regression-test check:
+ ${INSTALL_DATA} ${WRKSRC}/libpbl.a ${STAGEDIR}${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/pbl.h ${STAGEDIR}${PREFIX}/include/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}/
+
+test regression-test check:
${MAKE} -C ${WRKSRC} test
.include <bsd.port.mk>
OpenPOWER on IntegriCloud