summaryrefslogtreecommitdiff
path: root/databases/libpbl
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2013-12-07 17:40:05 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2013-12-07 17:40:05 +0000
commit47f17df7e4a96f532f3bb7b38dcf0e256744a64e (patch)
treef6825ee19f09ca876c6d0c6c36bf3034abc06848 /databases/libpbl
parent- Fix port build (remove BROKEN). Remove -DG_DISABLE_DEPRECATED from Makefile... (diff)
Support staging
Don't force running the optional regression tests
Notes
Notes: svn path=/head/; revision=335836
Diffstat (limited to 'databases/libpbl')
-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>