summaryrefslogtreecommitdiff
path: root/lang/erlang-doc/Makefile
blob: b2c138f77a4a5c377f16e7c973aa800045461ddf (plain)
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
# $NetBSD: Makefile,v 1.1.1.1 2006/03/29 21:40:51 ghen Exp $

DISTNAME=		otp_doc_html_${DIST_VERSION}
PKGNAME=		erlang-doc-${ERLANG_VERSION}
CATEGORIES=		lang
MASTER_SITES=		http://www.erlang.org/download/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.erlang.org/
COMMENT=		Documentation for Erlang, a concurrent functional programming language

DIST_SUBDIR=		erlang

# needs erlang installed for its directory structure
DEPENDS+=		erlang-${ERLANG_VERSION}:../../lang/erlang

NO_CONFIGURE=		yes
NO_BUILD=		yes

# these files are already installed by ../../lang/erlang:
DUPLICATE_FILES=	lib/cosEvent-${VERSION.cosEvent:Q}/info
DUPLICATE_FILES+=	lib/cosEventDomain-${VERSION.cosEventDomain:Q}/info
DUPLICATE_FILES+=	lib/mnesia_session-${VERSION.mnesia_session:Q}/info

do-install:
	cd ${WRKDIR} && ${PAX} ${DUPLICATE_FILES:=-s,%,,} -rw doc erts-${VERSION.erts:Q} lib ${PREFIX:Q}/lib/erlang/

.include "../../lang/erlang/Makefile.versions"

.include "../../mk/bsd.pkg.mk"