aboutsummaryrefslogtreecommitdiff
path: root/devel/cbind
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 14:32:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 14:32:46 +0000
commitde058dcf8c8fbbc19963275921fd6e04ccac4159 (patch)
treec4cf56c43e2ea2e19a26ec7585b1d1e7bac173e6 /devel/cbind
parentb60415db18190b63e7c4b766980110bbeb441edf (diff)
downloadports-de058dcf8c8fbbc19963275921fd6e04ccac4159.tar.gz
ports-de058dcf8c8fbbc19963275921fd6e04ccac4159.zip
Support stage
Add a DOCS option
Notes
Notes: svn path=/head/; revision=341410
Diffstat (limited to 'devel/cbind')
-rw-r--r--devel/cbind/Makefile23
-rw-r--r--devel/cbind/pkg-plist1
2 files changed, 11 insertions, 13 deletions
diff --git a/devel/cbind/Makefile b/devel/cbind/Makefile
index 1d30be264b31..bb5569a88d59 100644
--- a/devel/cbind/Makefile
+++ b/devel/cbind/Makefile
@@ -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>
diff --git a/devel/cbind/pkg-plist b/devel/cbind/pkg-plist
index 2af53d00c846..3ae11024d148 100644
--- a/devel/cbind/pkg-plist
+++ b/devel/cbind/pkg-plist
@@ -1,6 +1,7 @@
bin/cbfe
bin/cbind
bin/cbpp
+man/man1/cbind.1.gz
%%PORTDOCS%%%%DOCSDIR%%/DOCS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%