Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 11:59:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341383 - head/devel/atlas
Message-ID:  <201401271159.s0RBxeEA082093@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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