aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2013-12-08 01:40:05 +0800
committeradamw <adamw@FreeBSD.org>2013-12-08 01:40:05 +0800
commit0189b7ffe983abb4ee4c541dc12bbc25bd60dcaa (patch)
treef6825ee19f09ca876c6d0c6c36bf3034abc06848
parent9e692f4924cf16386aae53892e0c08315e0f6a55 (diff)
downloadfreebsd-ports-gnome-0189b7ffe983abb4ee4c541dc12bbc25bd60dcaa.tar.gz
freebsd-ports-gnome-0189b7ffe983abb4ee4c541dc12bbc25bd60dcaa.tar.zst
freebsd-ports-gnome-0189b7ffe983abb4ee4c541dc12bbc25bd60dcaa.zip
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 f25d559de958..8545b1b91bef 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>