aboutsummaryrefslogtreecommitdiff
path: root/textproc/htmlc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-01-28 15:54:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-01-28 15:54:23 +0000
commit1cd84ce00c87161d4d95ded04adf750067130880 (patch)
treee663f784b97e3cb2f7f8eafed92fdbaf840e3975 /textproc/htmlc
parent85d222b2012906b454219822a96b9c0dbfb0ac8e (diff)
downloadports-1cd84ce00c87161d4d95ded04adf750067130880.tar.gz
ports-1cd84ce00c87161d4d95ded04adf750067130880.zip
Notes
Diffstat (limited to 'textproc/htmlc')
-rw-r--r--textproc/htmlc/Makefile37
1 files changed, 16 insertions, 21 deletions
diff --git a/textproc/htmlc/Makefile b/textproc/htmlc/Makefile
index d5d6495bfedf..58d2d8acfa5a 100644
--- a/textproc/htmlc/Makefile
+++ b/textproc/htmlc/Makefile
@@ -13,7 +13,7 @@ COMMENT= A text file generator
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
-#MAN1= htmlc.1
+USES= gmake
PLIST_FILES= bin/htmlc bin/htmlc.byt share/htmlc/env
PLIST_DIRS= share/htmlc
@@ -22,9 +22,7 @@ PORTDOCS= LICENSE INSTALL README JoeCaml.gif rocq.gif copyright-eng.htm \
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${LOCALBASE}
-USE_GMAKE= yes
-NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@@ -33,23 +31,20 @@ post-patch:
${ECHO} "all:" > ${WRKSRC}/doc/Makefile
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc.byt ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- @${INSTALL_DATA} ${WRKSRC}/config/env ${DATADIR}
-
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/INSTALL ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/JoeCaml.gif ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/rocq.gif ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/copyright-eng.htm ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/copyright-fra.htm ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/eng.htm ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/fra.htm ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/index.htm ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/compiler/htmlc.byt ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/config/env ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/LICENSE ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/INSTALL ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/JoeCaml.gif ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/rocq.gif ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/copyright-eng.htm ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/copyright-fra.htm ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/eng.htm ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/fra.htm ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/index.htm ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>