pkgsrc/lang/erlang-man/Makefile
bsiegert 11eb68bbc8 Fix a common mistake in many different packages: POSIX says that when using
pax -rw, the destination directory must exist. pax in NetBSD creates it if
not, pax in MirBSD complains. I read through all pkgsrc Makefiles that use
pax and added an entry to INSTALLATION_DIRS, or an INSTALL_DATA_DIR
invocation.

I did not test all the changes but they should be fairly safe. If you notice
any breakage because of this change, please contact me.
2013-10-18 11:41:17 +00:00

29 lines
783 B
Makefile

# $NetBSD: Makefile,v 1.8 2013/10/18 11:41:18 bsiegert Exp $
DISTNAME= otp_doc_man_${DIST_VERSION_MAJOR}${DIST_VERSION_MINOR:D-${DIST_VERSION_MINOR}}
PKGNAME= erlang-man-${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}{,nb*}:../../lang/erlang
USE_TOOLS+= pax
NO_CONFIGURE= yes
NO_BUILD= yes
INSTALLATION_DIRS= lib/erlang
do-install:
cd ${WRKDIR} && pax -rw man ${DESTDIR}${PREFIX}/lib/erlang/
.include "../../lang/erlang/Makefile.versions"
.include "../../mk/bsd.pkg.mk"