pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
freeswitch-core: Optimize REPLACE_PERL overuse in Makefile
Module Name: pkgsrc-wip
Committed By: Angel M. Adames <angelmadames%gmail.com@localhost>
Pushed By: angelmadames
Date: Wed Jul 12 10:05:09 2017 -0400
Changeset: 0be44b6dbe2cdfbb9a1b4d936dcf90309fc48088
Modified Files:
freeswitch-core/MESSAGE
freeswitch-core/Makefile
Log Message:
freeswitch-core: Optimize REPLACE_PERL overuse in Makefile
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0be44b6dbe2cdfbb9a1b4d936dcf90309fc48088
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
freeswitch-core/MESSAGE | 2 +
freeswitch-core/Makefile | 179 ++++++++++++-----------------------------------
2 files changed, 47 insertions(+), 134 deletions(-)
diffs:
diff --git a/freeswitch-core/MESSAGE b/freeswitch-core/MESSAGE
index d8b22d7af1..d2a8529859 100644
--- a/freeswitch-core/MESSAGE
+++ b/freeswitch-core/MESSAGE
@@ -1,4 +1,6 @@
===========================================================================
+$NetBSD$
+
* There are many modules that are not enabled by default. If they are
required, please manually enable them in ${WRKSRC}/modules.conf file.
As for now, some required by wip/fusionpbx (GUI interface) were included.
diff --git a/freeswitch-core/Makefile b/freeswitch-core/Makefile
index 15e1407092..46c66fba3d 100644
--- a/freeswitch-core/Makefile
+++ b/freeswitch-core/Makefile
@@ -1,21 +1,21 @@
# $NetBSD$
-DISTNAME= freeswitch-${VERSION}
-VERSION= 1.6.17
-CATEGORIES= net
-MASTER_SITES= http://files.freeswitch.org/
-EXTRACT_SUFX= .tar.xz
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.freeswitch.org/
-COMMENT= FreeSwitch SoftSwitch Port
-LICENSE= mpl-1.1
-
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
+DISTNAME= freeswitch-${VERSION}
+VERSION= 1.6.17
+CATEGORIES= net
+MASTER_SITES= http://files.freeswitch.org/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.freeswitch.org/
+COMMENT= FreeSwitch SoftSwitch Port
+LICENSE= mpl-1.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= libtool */libtool */*/libtool */*/*/libtool
-USE_LANGUAGES= c c++
-USE_TOOLS+= automake autoconf gmake perl pkg-config
+USE_LANGUAGES= c c++
+USE_TOOLS+= automake autoconf gmake perl pkg-config
BUILD_DEFS+= VARBASE
@@ -26,7 +26,7 @@ CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/db/freeswitch
-CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share
+CONFIGURE_ARGS+= --datarootdir=${PREFIX}/share
CONFIGURE_ARGS+= --includedir=${PREFIX}/include
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc
@@ -47,122 +47,33 @@ CONFIGURE_ARGS+= --enable-zrtp
CONFIGURE_ARGS+= --enable-core-pgsql-support
CONFIGURE_ARGS+= --enable-xmlrpc-c
-REPLACE_PERL+= support-d/utils/filebug.pl
-REPLACE_PERL+= support-d/utils/gl
-REPLACE_PERL+= support-d/utils/hashfinder
-REPLACE_PERL+= support-d/utils/rwlock.pl
-REPLACE_PERL+= support-d/utils/fixbug.pl
-REPLACE_PERL+= support-d/utils/btgrep
-REPLACE_PERL+= build/strip.pl
-REPLACE_PERL+= libs/xmlrpc-c/tools/binmode-rpc-kit/binmode-rpc2xml-rpc
-REPLACE_PERL+= libs/xmlrpc-c/tools/binmode-rpc-kit/oct2bin
-REPLACE_PERL+= libs/apr/helpers/apr_rename.pl
-REPLACE_PERL+= libs/sofia-sip/libsofia-sip-ua/tport/make_node_cert.pl
-REPLACE_PERL+= libs/sofia-sip/libsofia-sip-ua/tport/make_root_cert.pl
-REPLACE_PERL+= libs/libzrtp/create_pack.pl
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tplfmt
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tplxml
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test13
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test6
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test9
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test12
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test2
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test21
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test16
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test8
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test22
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test14
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test4
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test7
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test15
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test18
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test1
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/do_tests
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test20
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test23
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test11
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test10
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/client.pl
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test3
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test19
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test5
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/server.pl
-REPLACE_PERL+= libs/libtpl-1.5/lang/perl/tests/test17
-REPLACE_PERL+= libs/libtpl-1.5/tests/other/do_tests
-REPLACE_PERL+= libs/libtpl-1.5/tests/sizes
-REPLACE_PERL+= libs/libtpl-1.5/tests/do_tests
-REPLACE_PERL+= libs/libtpl-1.5/tests/do_tests.cygwin
-REPLACE_PERL+= libs/libtpl-1.5/doc/txt/perl.txt
-REPLACE_PERL+= libs/libtpl-1.5/doc/txt/perl.txt
-REPLACE_PERL+= libs/libtpl-1.5/doc/txt/perl.txt
-REPLACE_PERL+= libs/libtpl-1.5/doc/txt/perl.txt
-REPLACE_PERL+= libs/libtpl-1.5/doc/txt/perl.txt
-REPLACE_PERL+= libs/libtpl-1.5/doc/html/perl.html
-REPLACE_PERL+= libs/libtpl-1.5/doc/html/perl.html
-REPLACE_PERL+= libs/libtpl-1.5/doc/html/perl.html
-REPLACE_PERL+= libs/libtpl-1.5/doc/html/perl.html
-REPLACE_PERL+= libs/libtpl-1.5/doc/html/perl.html
-REPLACE_PERL+= libs/esl/test.pl
-REPLACE_PERL+= libs/esl/perl/send_notify.pl
-REPLACE_PERL+= libs/esl/perl/single_command.pl
-REPLACE_PERL+= libs/esl/perl/dump_events.pl
-REPLACE_PERL+= libs/esl/perl/info.pl
-REPLACE_PERL+= libs/esl/perl/sendevent.pl
-REPLACE_PERL+= libs/esl/perl/send_info.pl
-REPLACE_PERL+= libs/esl/perl/dispatch.pl
-REPLACE_PERL+= scripts/rss/rss2ivr.pl
-REPLACE_PERL+= scripts/rss/syncrss.pl
-REPLACE_PERL+= scripts/fsxs.in
-REPLACE_PERL+= scripts/perl/mkgws.pl
-REPLACE_PERL+= scripts/perl/fslog
-REPLACE_PERL+= scripts/perl/wplookup.cgi
-REPLACE_PERL+= scripts/perl/analyze-debug-alloc.pl
-REPLACE_PERL+= scripts/perl/cnam.cgi
-REPLACE_PERL+= scripts/perl/call.cgi
-REPLACE_PERL+= scripts/perl/timezone-gen.pl
-REPLACE_PERL+= scripts/perl/f-off-friendly-scanner.pl
-REPLACE_PERL+= scripts/perl/sock.pl
-REPLACE_PERL+= scripts/perl/sendmail
-REPLACE_PERL+= scripts/perl/honeypot.pl
-REPLACE_PERL+= scripts/perl/randomize-passwords.pl
-REPLACE_PERL+= scripts/perl/add_user
-REPLACE_PERL+= scripts/perl/combineconf.pl
-REPLACE_PERL+= scripts/perl/fsconsole.pl
-REPLACE_PERL+= scripts/perl/multicast/send.pl
-REPLACE_PERL+= scripts/perl/rpc.cgi
-REPLACE_PERL+= scripts/perl/fs.pl
-REPLACE_PERL+= scripts/perl/ftc_dnc_register.pl
-REPLACE_PERL+= scripts/perl/extract_log_range.pl
-REPLACE_PERL+= scripts/perl/blacklist.pl
-REPLACE_PERL+= scripts/perl/POE-Filter-FSSocket/Makefile.PL
-REPLACE_PERL+= scripts/perl/POE-Filter-FSSocket/examples/fsconsole.pl
-REPLACE_PERL+= scripts/perl/POE-Filter-FSSocket/examples/poetest.pl
-REPLACE_PERL+= scripts/perl/POE-Filter-FSSocket/lib/POE/Filter/FSSocket.pm
-REPLACE_PERL+= scripts/perl/tag.pl
-REPLACE_PERL+= scripts/perl/dhcp-inform.pl
-REPLACE_PERL+= scripts/perl/g729_activate
-REPLACE_PERL+= scripts/perl/puppet.cgi
-REPLACE_PERL+= scripts/perl/fax.cgi
-REPLACE_PERL+= scripts/perl/snom-pnpd.pl
-REPLACE_PERL+= scripts/trace/sipgrep
-REPLACE_PERL+= src/mod/applications/mod_httapi/examples/perl/ext_pin.cgi
-REPLACE_PERL+= src/mod/applications/mod_httapi/examples/perl/dialer.cgi
-REPLACE_PERL+= src/mod/applications/mod_httapi/examples/perl/speech.cgi
-REPLACE_PERL+= src/mod/applications/mod_httapi/examples/perl/apps.cgi
-REPLACE_PERL+= src/mod/applications/mod_httapi/examples/perl/record_name.cgi
-REPLACE_PERL+= src/mod/applications/mod_avmd/scripts/avmd_test.pl
-REPLACE_PERL+= src/mod/endpoints/mod_skinny/test-skinny.pl
-REPLACE_PERL+= src/mod/endpoints/mod_skypopen/install/install.pl
-REPLACE_PERL+= src/mod/endpoints/mod_gsmopen/asterisk/ciapalo
-REPLACE_PERL+= docs/phrase/phrase.pl
-
-RCD_SCRIPTS= freeswitch
-
-INSTALLATION_DIRS+= share/freeswitch/scripts
+REPLACE_PERL+= support-d/utils/*
+REPLACE_PERL+= build/*
+REPLACE_PERL+= libs/xmlrpc-c/tools/binmode-rpc-kit/*
+REPLACE_PERL+= libs/apr/helpers/*
+REPLACE_PERL+= libs/sofia-sip/libsofia-sip-ua/tport/*
+REPLACE_PERL+= libs/*/*
+REPLACE_PERL+= libs/*/*/*
+REPLACE_PERL+= libs/libtpl-1.5/*/*/*/*
+REPLACE_PERL+= libs/libtpl-1.5/*/*/*
+REPLACE_PERL+= libs/libtpl-1.5/*/*
+REPLACE_PERL+= scripts/*
+REPLACE_PERL+= scripts/*/*
+REPLACE_PERL+= scripts/*/*/*
+REPLACE_PERL+= scripts/*/*/*/*
+REPLACE_PERL+= scripts/*/*/*/*/*/*
+REPLACE_PERL+= src/mod/*/*/*
+REPLACE_PERL+= src/mod/*/*/*/*
+REPLACE_PERL+= src/mod/*/*/*/*/*
+REPLACE_PERL+= docs/phrase/*
+
+RCD_SCRIPTS= freeswitch
+
+INSTALLATION_DIRS+= share/freeswitch/scripts
INSTALLATION_DIRS+= share/freeswitch/grammar
-INSTALLATION_DIRS+= freeswitch/modules
-INSTALLATION_DIRS+= freeswitch/sounds
-INSTALLATION_DIRS+= freeswitch/recordings
+INSTALLATION_DIRS+= freeswitch/modules
+INSTALLATION_DIRS+= freeswitch/sounds
+INSTALLATION_DIRS+= freeswitch/recordings
.include "../../mk/bsd.prefs.mk"
@@ -185,10 +96,10 @@ OWN_DIRS+= ${PREFIX}/share/freeswitch
OWN_DIRS_PERMS+= ${PREFIX}/freeswitch ${FS_USER} ${FS_GROUP} 0755
OWN_DIRS_PERMS+= ${PREFIX}/share/freeswitch ${FS_USER} ${FS_GROUP} 0755
-PKG_SYSCONFSUBDIR= freeswitch
-PKG_SYSCONFDIR_PERMS= ${FS_USER} ${FS_GROUP} 0755
+PKG_SYSCONFSUBDIR= freeswitch
+PKG_SYSCONFDIR_PERMS= ${FS_USER} ${FS_GROUP} 0755
-BUILDLINK_TRANSFORM+= rm:-Werror
+BUILDLINK_TRANSFORM+= rm:-Werror
post-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libs/srtp/libsrtp.la ${DESTDIR}${PREFIX}/lib
Home |
Main Index |
Thread Index |
Old Index