Sat Aug 19 00:23:58 2017 UTC ()
lang/parrot: Install manpages into ${PKGMANDIR}.

Pass "--mandir=<dir>" to the configure script to set the correct
location for installed manpages.


(jlam)
diff -r1.86 -r1.87 pkgsrc/lang/parrot/Makefile

cvs diff -r1.86 -r1.87 pkgsrc/lang/parrot/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/parrot/Makefile 2017/04/22 21:03:12 1.86
+++ pkgsrc/lang/parrot/Makefile 2017/08/19 00:23:58 1.87
@@ -1,40 +1,41 @@ @@ -1,40 +1,41 @@
1# $NetBSD: Makefile,v 1.86 2017/04/22 21:03:12 adam Exp $ 1# $NetBSD: Makefile,v 1.87 2017/08/19 00:23:58 jlam Exp $
2# 2#
3 3
4DISTNAME= parrot-${PARROT_VERSION} 4DISTNAME= parrot-${PARROT_VERSION}
5PKGREVISION= 12 5PKGREVISION= 12
6CATEGORIES= lang 6CATEGORIES= lang
7MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${PARROT_RTYPE}/${PARROT_VERSION}/ 7MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${PARROT_RTYPE}/${PARROT_VERSION}/
8 8
9MAINTAINER= he@NetBSD.org 9MAINTAINER= he@NetBSD.org
10HOMEPAGE= http://www.parrotcode.org/ 10HOMEPAGE= http://www.parrotcode.org/
11COMMENT= Virtual machine made to run Perl 6 and other languages 11COMMENT= Virtual machine made to run Perl 6 and other languages
12LICENSE= artistic-2.0 12LICENSE= artistic-2.0
13 13
14USE_LANGUAGES= c c++ 14USE_LANGUAGES= c c++
15USE_TOOLS+= perl gmake 15USE_TOOLS+= perl gmake
16PTHREAD_OPTS+= require 16PTHREAD_OPTS+= require
17BUILD_TARGET= world 17BUILD_TARGET= world
18TEST_TARGET= test 18TEST_TARGET= test
19HAS_CONFIGURE= yes 19HAS_CONFIGURE= yes
20MAKE_JOBS_SAFE= no 20MAKE_JOBS_SAFE= no
21 21
22.include "../../mk/pthread.buildlink3.mk" 22.include "../../mk/pthread.buildlink3.mk"
23.include "../../mk/bsd.prefs.mk" 23.include "../../mk/bsd.prefs.mk"
24 24
25CONFIG_SHELL= perl 25CONFIG_SHELL= perl
26CONFIGURE_SCRIPT= Configure.pl 26CONFIGURE_SCRIPT= Configure.pl
27CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \ 27CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
 28 --mandir=${PREFIX:Q}/${PKGMANDIR:Q} \
28 --icu-config=${PREFIX}/bin/icu-config \ 29 --icu-config=${PREFIX}/bin/icu-config \
29 --without-opengl --without-pcre \ 30 --without-opengl --without-pcre \
30 --without-zlib \ 31 --without-zlib \
31 --without-libffi \ 32 --without-libffi \
32 --optimize 33 --optimize
33# --without-llvm 34# --without-llvm
34 35
35SUBST_CLASSES+= pthread 36SUBST_CLASSES+= pthread
36SUBST_STAGE.pthread= post-configure 37SUBST_STAGE.pthread= post-configure
37SUBST_FILES.pthread= Makefile 38SUBST_FILES.pthread= Makefile
38SUBST_SED.pthread= -e 's|-pthread||g' 39SUBST_SED.pthread= -e 's|-pthread||g'
39SUBST_SED.pthread+= -e 's|-lpthread||g' 40SUBST_SED.pthread+= -e 's|-lpthread||g'
40SUBST_SED.pthread+= -e 's|-lc_r||g' 41SUBST_SED.pthread+= -e 's|-lc_r||g'