blob: fb10e62c123424f4e11187748ba897220fda0f29 (
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
|
# ex:ts=8
# Ports collection makefile for: camomile
# Date created: Mar 17, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= camomile
PORTVERSION= 0.4.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
COMMENT= A comprehensive Unicode library for objective caml language
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
PKGDEINSTALL= ${PKGINSTALL}
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
BROKEN= "Coredump during build on amd64"
.endif
post-install:
@${FIND} ${PREFIX}/lib/ocaml/site-lib/${PORTNAME} -type f | \
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
@${ECHO_CMD} "@dirrm lib/ocaml/site-lib/${PORTNAME}" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ocamlfind remove ${PORTNAME} 2>/dev/null || true" >> ${TMPPLIST}
@${FIND} ${DATADIR} -type f | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${DATADIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.post.mk>
|