svn commit: r341383 - head/devel/atlas

Baptiste Daroussin bapt at FreeBSD.org
Mon Jan 27 11:59:41 UTC 2014


Author: bapt
Date: Mon Jan 27 11:59:40 2014
New Revision: 341383
URL: http://svnweb.freebsd.org/changeset/ports/341383
QAT: https://qat.redports.org/buildarchive/r341383/

Log:
  Support stage
  Add doc option
  Simplify the ports to let the ustream build process install the docs, stage
  will take care of only packaging what we want.
  add GNU_CONFIGURE to properly let the configure process happen with the ports framework
  variables set

Modified:
  head/devel/atlas/Makefile

Modified: head/devel/atlas/Makefile
==============================================================================
--- head/devel/atlas/Makefile	Mon Jan 27 11:54:47 2014	(r341382)
+++ head/devel/atlas/Makefile	Mon Jan 27 11:59:40 2014	(r341383)
@@ -9,23 +9,15 @@ MASTER_SITES=	SF/worldforge/OldFiles
 DISTNAME=	${PORTNAME}-C++-${PORTVERSION}
 
 MAINTAINER=	oliver at FreeBSD.org
-COMMENT=	A C++ reference implementation of the Atlas protocol
+COMMENT=	C++ reference implementation of the Atlas protocol
 
+OPTIONS_DEFINE=	DOCS
+
+GNU_CONFIGURE=	yes
+USES=	pathfix
 USE_AUTOTOOLS=	libtool
 USE_LDCONFIG=	YES
 USE_BZIP2=	YES
-USES=	pathfix
-
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e 's| install-docDATA | |g'	${WRKSRC}/Makefile.in
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for docfile in README COPYING AUTHORS THANKS NEWS ChangeLog TODO HACKING ROADMAP
-	@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
-.endfor
-.endif
+MAKE_ARGS=	docdir=${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list