aboutsummaryrefslogtreecommitdiff
path: root/lang/ocaml-autoconf/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-15 03:38:16 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-15 03:38:16 +0000
commit67c52cf01132b3ff61e276ad40506c64c8e5c95b (patch)
treef1532408a03ccbab888507bf7d10a66fc04e808c /lang/ocaml-autoconf/Makefile
parentffc74b910571b12f06a6d20d9cfc0bd5e959b6b5 (diff)
downloadports-67c52cf01132b3ff61e276ad40506c64c8e5c95b.tar.gz
ports-67c52cf01132b3ff61e276ad40506c64c8e5c95b.zip
Stagify.
Notes
Notes: svn path=/head/; revision=361856
Diffstat (limited to 'lang/ocaml-autoconf/Makefile')
-rw-r--r--lang/ocaml-autoconf/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/lang/ocaml-autoconf/Makefile b/lang/ocaml-autoconf/Makefile
index 6211a2e204e2..99777901a422 100644
--- a/lang/ocaml-autoconf/Makefile
+++ b/lang/ocaml-autoconf/Makefile
@@ -17,18 +17,13 @@ WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-1.0
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
AC_SUBDIR= ${PREFIX}/share/aclocal
PLIST_FILES= share/aclocal/ocaml.m4
+OPTIONS_DEFINE= DOCS
+PORTDOCS= *
-.if !defined(NOPORTDOCS)
-PORTDOCS= ocaml.m4.txt
-.endif
-
-NO_STAGE= yes
do-install:
- ${MKDIR} ${AC_SUBDIR}/
- ${INSTALL_DATA} ${WRKSRC}/ocaml.m4 ${AC_SUBDIR}/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/ocaml.m4.txt ${DOCSDIR}/
-.endif
+ ${MKDIR} ${STAGEDIR}${AC_SUBDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/ocaml.m4 ${STAGEDIR}${AC_SUBDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/ocaml.m4.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>