blob: d5d6495bfedfd2cee605108f8a64a06596f49e52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
# $FreeBSD$
PORTNAME= htmlc
PORTVERSION= 2.21.0
CATEGORIES= textproc
MASTER_SITES= http://htmlc.inria.fr/ \
http://caml.inria.fr/distrib/bazar-ocaml/htmlc/
EXTRACT_SUFX= .tgz
MAINTAINER= beyert@cs.ucr.edu
COMMENT= A text file generator
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
#MAN1= htmlc.1
PLIST_FILES= bin/htmlc bin/htmlc.byt share/htmlc/env
PLIST_DIRS= share/htmlc
PORTDOCS= LICENSE INSTALL README JoeCaml.gif rocq.gif copyright-eng.htm \
copyright-fra.htm eng.htm fra.htm index.htm
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix ${LOCALBASE}
USE_GMAKE= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
${RM} -f ${WRKSRC}/doc/Makefile
${TOUCH} ${WRKSRC}/doc/Makefile
${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
.include <bsd.port.post.mk>
|