aboutsummaryrefslogtreecommitdiff
path: root/science/libctl
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-26 06:11:16 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-26 06:11:16 +0000
commit92ebaeb5b3892624647dc570bcb93be8be6874d9 (patch)
treebfa64f433e6fdfa160fd8b1ad39d907302ecac09 /science/libctl
parent5c95b333af9bce505a3ec1718cb4279f0c0d3ae0 (diff)
downloadports-92ebaeb5b3892624647dc570bcb93be8be6874d9.tar.gz
ports-92ebaeb5b3892624647dc570bcb93be8be6874d9.zip
- Stage support
Notes
Notes: svn path=/head/; revision=346102
Diffstat (limited to 'science/libctl')
-rw-r--r--science/libctl/Makefile15
-rw-r--r--science/libctl/pkg-plist1
2 files changed, 5 insertions, 11 deletions
diff --git a/science/libctl/Makefile b/science/libctl/Makefile
index 52590525aed5..c7fba79bdc55 100644
--- a/science/libctl/Makefile
+++ b/science/libctl/Makefile
@@ -16,9 +16,6 @@ USES= fortran
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-MAN1= gen-ctl-io.1
-
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
@@ -30,13 +27,9 @@ BROKEN= does not link due to libtool not respecting CC
.endif
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
-.endif
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.post.mk>
diff --git a/science/libctl/pkg-plist b/science/libctl/pkg-plist
index b0ba4666e641..aa17735a43b2 100644
--- a/science/libctl/pkg-plist
+++ b/science/libctl/pkg-plist
@@ -10,6 +10,7 @@ lib/libctlgeom.a
lib/libctlgeom.la
lib/libctlgeom.so
lib/libctlgeom.so.5
+man/man1/gen-ctl-io.1.gz
%%PORTDOCS%%%%DOCSDIR%%/advanced-user.html
%%PORTDOCS%%%%DOCSDIR%%/basic-user.html
%%PORTDOCS%%%%DOCSDIR%%/developer.html