blob: 7173222f1c0d4607400b48e0d8b7cf57a2e76170 (
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
|
# New ports collection makefile for: dialyzer
# Date Created: 8 January 2005
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= dialyzer
PORTVERSION= 1.4.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.it.uu.se/research/group/hipe/dialyzer/snapshots/
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Static analysis tool for Erlang/OTP applications
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_SUB= VERSION="${PORTVERSION}"
post-patch:
@${REINPLACE_CMD} -e 's|%%DIALYZER_DIR%%|${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}|g' ${WRKSRC}/setup.sh
@${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM}
do-build:
@cd ${WRKSRC} && ./setup.sh --no_analysis ${PREFIX}/lib/erlang
do-install:
@${MKDIR} ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
@${LN} -sf ${PORTNAME}-${PORTVERSION} ${PREFIX}/lib/erlang/lib/${PORTNAME}
@cd ${WRKSRC} && ${CP} -r README RELEASE_NOTES dialyzer doc ebin plt src ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
@${FIND} ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION} -name \*.orig | ${XARGS} ${RM}
@${LN} -sf ${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/dialyzer ${PREFIX}/bin/dialyzer
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|