svn commit: r341410 - head/devel/cbind
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jan 27 14:32:47 UTC 2014
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 at 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%%
More information about the svn-ports-all
mailing list