Tue Nov 29 16:51:59 2011 UTC ()
Add perldoc and pod2html to tools.


(hans)
diff -r1.234 -r1.235 pkgsrc/mk/tools/replace.mk

cvs diff -r1.234 -r1.235 pkgsrc/mk/tools/replace.mk (expand / switch to unified diff)

--- pkgsrc/mk/tools/replace.mk 2011/11/29 16:13:08 1.234
+++ pkgsrc/mk/tools/replace.mk 2011/11/29 16:51:58 1.235
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: replace.mk,v 1.234 2011/11/29 16:13:08 hans Exp $ 1# $NetBSD: replace.mk,v 1.235 2011/11/29 16:51:58 hans Exp $
2# 2#
3# Copyright (c) 2005 The NetBSD Foundation, Inc. 3# Copyright (c) 2005 The NetBSD Foundation, Inc.
4# All rights reserved. 4# All rights reserved.
5# 5#
6# This code is derived from software contributed to The NetBSD Foundation 6# This code is derived from software contributed to The NetBSD Foundation
7# by Johnny C. Lam. 7# by Johnny C. Lam.
8# 8#
9# Redistribution and use in source and binary forms, with or without 9# Redistribution and use in source and binary forms, with or without
10# modification, are permitted provided that the following conditions 10# modification, are permitted provided that the following conditions
11# are met: 11# are met:
12# 1. Redistributions of source code must retain the above copyright 12# 1. Redistributions of source code must retain the above copyright
13# notice, this list of conditions and the following disclaimer. 13# notice, this list of conditions and the following disclaimer.
14# 2. Redistributions in binary form must reproduce the above copyright 14# 2. Redistributions in binary form must reproduce the above copyright
@@ -862,27 +862,27 @@ TOOLS_ARGS.yacc= -y @@ -862,27 +862,27 @@ TOOLS_ARGS.yacc= -y
862# any scripts or config files. In this case, pass the full command 862# any scripts or config files. In this case, pass the full command
863# line (path and arguments) of the tool to the GNU configure script 863# line (path and arguments) of the tool to the GNU configure script
864# so that bison will be correctly invoked in yacc-compatilility mode. 864# so that bison will be correctly invoked in yacc-compatilility mode.
865# 865#
866TOOLS_VALUE_GNU.yacc= ${TOOLS_CMDLINE.yacc} 866TOOLS_VALUE_GNU.yacc= ${TOOLS_CMDLINE.yacc}
867. endif 867. endif
868.endif 868.endif
869 869
870###################################################################### 870######################################################################
871 871
872# These tools are all supplied by the lang/perl5 package if there is 872# These tools are all supplied by the lang/perl5 package if there is
873# no native tool available. 873# no native tool available.
874# 874#
875_TOOLS.perl= perl pod2man 875_TOOLS.perl= perl perldoc pod2html pod2man
876 876
877.for _t_ in ${_TOOLS.perl} 877.for _t_ in ${_TOOLS.perl}
878. if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_}) 878. if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_})
879. if !empty(PKGPATH:Mlang/perl5) 879. if !empty(PKGPATH:Mlang/perl5)
880MAKEFLAGS+= TOOLS_IGNORE.${_t_}= 880MAKEFLAGS+= TOOLS_IGNORE.${_t_}=
881. elif !empty(_TOOLS_USE_PKGSRC.{_t_}:M[yY][eE][sS]) 881. elif !empty(_TOOLS_USE_PKGSRC.{_t_}:M[yY][eE][sS])
882TOOLS_DEPENDS.${_t_}?= perl>=${PERL5_REQD}:../../lang/perl5 882TOOLS_DEPENDS.${_t_}?= perl>=${PERL5_REQD}:../../lang/perl5
883TOOLS_CREATE+= ${_t_} 883TOOLS_CREATE+= ${_t_}
884TOOLS_FIND_PREFIX+= TOOLS_PREFIX.${_t_}=perl 884TOOLS_FIND_PREFIX+= TOOLS_PREFIX.${_t_}=perl
885TOOLS_PATH.${_t_}= ${TOOLS_PREFIX.${_t_}}/bin/${_t_} 885TOOLS_PATH.${_t_}= ${TOOLS_PREFIX.${_t_}}/bin/${_t_}
886. endif 886. endif
887. endif 887. endif
888.endfor 888.endfor