blob: c20648edc7e21e4f7792c601075616d7466800e4 (
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
31
32
33
34
|
# $NetBSD: Makefile,v 1.13 2018/09/13 09:02:52 jperkin Exp $
DISTNAME= otp_doc_html_${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}
PKGNAME= ${DISTNAME:S/otp_doc_html_/erlang-doc-/}
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>=${PKGVERSION_NOREV}:../../lang/erlang
NO_CONFIGURE= yes
NO_BUILD= yes
USE_TOOLS+= pax
# these files are already installed by ../../lang/erlang:
DUPLICATE_FILES= lib/cosEvent-${VERSION.cosEvent}/info
DUPLICATE_FILES+= lib/cosEventDomain-${VERSION.cosEventDomain}/info
DUPLICATE_FILES+= lib/mnesia_session-${VERSION.mnesia_session}/info
INSTALLATION_DIRS= lib/erlang
do-install:
cd ${WRKDIR} && pax ${DUPLICATE_FILES:=-s,%,,} -rw doc erts-${VERSION.erts} lib ${DESTDIR}${PREFIX}/lib/erlang/
.include "../../lang/erlang/Makefile.versions"
.include "../../mk/bsd.pkg.mk"
|