Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 14:32:46 +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: r341410 - head/devel/cbind
Message-ID:  <201401271432.s0REWk7O045113@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Jan 27 14:32:46 2014
New Revision: 341410
URL: http://svnweb.freebsd.org/changeset/ports/341410
QAT: https://qat.redports.org/buildarchive/r341410/

Log:
  Support stage
  Add a DOCS option

Modified:
  head/devel/cbind/Makefile
  head/devel/cbind/pkg-plist

Modified: head/devel/cbind/Makefile
==============================================================================
--- head/devel/cbind/Makefile	Mon Jan 27 14:01:44 2014	(r341409)
+++ head/devel/cbind/Makefile	Mon Jan 27 14:32:46 2014	(r341410)
@@ -7,27 +7,24 @@ CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.cs.kuleuven.ac.be/pub/Ada-Belgium/cdrom/ase02_02/tools/cbind/ \
 			   ftp://ftp.cnam.fr/pub2/Ada/PAL/swtools/cbind/
 DISTNAME=	${PORTNAME}${PORTVERSION}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	david@realityrift.com
 COMMENT=	Translator for "thin" Ada bindings to C
 
-USE_ZIP=	yes
-MAKE_JOBS_UNSAFE=	yes
+OPTIONS_DEFINE=	DOCS
 
-MAN1=		cbind.1
+MAKE_JOBS_UNSAFE=	yes
 
 ${WRKSRC}=	${WRKDIR}/${PORTNAME}
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/cbind ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/cbfe ${PREFIX}/bin
-	@${INSTALL_PROGRAM} ${WRKSRC}/cbpp ${PREFIX}/bin
-	@${INSTALL_DATA} ${WRKSRC}/cbind.1 ${PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/DOCS ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/cbind ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/cbfe ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/cbpp ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/cbind.1 ${STAGEDIR}${PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/DOCS ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/cbind/pkg-plist
==============================================================================
--- head/devel/cbind/pkg-plist	Mon Jan 27 14:01:44 2014	(r341409)
+++ head/devel/cbind/pkg-plist	Mon Jan 27 14:32:46 2014	(r341410)
@@ -1,6 +1,7 @@
 bin/cbfe
 bin/cbind
 bin/cbpp
+man/man1/cbind.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/DOCS
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



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