summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 11:59:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 11:59:40 +0000
commit47275c3f455c543c96ec0eb94aee3f39fb7124a2 (patch)
tree997a4ed41c2384f6f81a524c504694f48bd3203c
parentFix typo. (diff)
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
-rw-r--r--devel/atlas/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/devel/atlas/Makefile b/devel/atlas/Makefile
index fca72c6f197b..8f810acc797e 100644
--- a/devel/atlas/Makefile
+++ b/devel/atlas/Makefile
@@ -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>