Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 17:40:05 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335836 - head/databases/libpbl
Message-ID:  <201312071740.rB7He5w3054114@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Sat Dec  7 17:40:05 2013
New Revision: 335836
URL: http://svnweb.freebsd.org/changeset/ports/335836

Log:
  Support staging
  Don't force running the optional regression tests

Modified:
  head/databases/libpbl/Makefile

Modified: head/databases/libpbl/Makefile
==============================================================================
--- head/databases/libpbl/Makefile	Sat Dec  7 17:21:53 2013	(r335835)
+++ head/databases/libpbl/Makefile	Sat Dec  7 17:40:05 2013	(r335836)
@@ -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
+	${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}/
 
-post-build test regression-test check:
+test regression-test check:
 	${MAKE} -C ${WRKSRC} test
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312071740.rB7He5w3054114>