svn commit: r352382 - head/devel/ocaml-cfg
Antoine Brodin
antoine at FreeBSD.org
Sat Apr 26 21:27:45 UTC 2014
Author: antoine
Date: Sat Apr 26 21:27:44 2014
New Revision: 352382
URL: http://svnweb.freebsd.org/changeset/ports/352382
QAT: https://qat.redports.org/buildarchive/r352382/
Log:
Stage support
Modified:
head/devel/ocaml-cfg/Makefile
Modified: head/devel/ocaml-cfg/Makefile
==============================================================================
--- head/devel/ocaml-cfg/Makefile Sat Apr 26 21:19:15 2014 (r352381)
+++ head/devel/ocaml-cfg/Makefile Sat Apr 26 21:27:44 2014 (r352382)
@@ -31,27 +31,10 @@ EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORT
PORTDOCS= *
PORTEXAMPLES= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_DIRSTRY+= ${OCAML_DOCSDIR:S,^${PREFIX}/,,}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-PLIST_DIRSTRY+= ${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,}
-.endif
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
-.for i in AUTHORS.txt CHANGES.txt README.md
- (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
-.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.txt CHANGES.txt README.md ${STAGEDIR}${DOCSDIR})
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list