Changeset 99455
- Timestamp:
- Nov 5, 2012, 9:42:12 PM (12 years ago)
- Location:
- trunk/dports/net/scotty
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/net/scotty/Portfile
r71014 r99455 5 5 name scotty 6 6 version 3.0.0 7 revision 57 revision 6 8 8 categories net 9 9 maintainers markd … … 28 28 29 29 patchfiles patch-Makefile.in \ 30 patch-configure.in.diff \ 30 31 patch-tnm-library-init.tcl 31 32 … … 34 35 startupitem.executable "${prefix}/bin/nmicmpd" 35 36 37 autoconf.dir ${worksrcpath}/unix 36 38 configure.dir ${worksrcpath}/unix 37 39 build.dir ${worksrcpath}/unix 38 destroot.dir ${worksrcpath}/unix 40 41 use_autoconf yes 39 42 40 43 configure.args --exec_prefix=${prefix} \ … … 56 59 57 60 post-destroot { 58 system "cd ${destroot}${prefix}/bin && ln -sf scotty3.0.0 scotty" 59 system "cd ${destroot}${prefix}/bin && ln -sf tkined1.5.0 tkined" 61 ln -s scotty3.0.0 ${destroot}${prefix}/bin/scotty 62 ln -s tkined1.5.0 ${destroot}${prefix}/bin/tkined 60 63 } 61 64 62 65 platform darwin 8 { 63 66 pre-install { 64 # Replace the LaunchDitem with one supporting inetdCompatibility67 # Replace the launchd item with one supporting inetdCompatibility 65 68 file copy -force ${filespath}/org.macports.nmicmpd.plist \ 66 69 ${destroot}${prefix}/etc/LaunchDaemons/org.macports.nmicmpd/ … … 70 73 } 71 74 72 post-activate { 73 ui_msg "\n 74 To enable the ${prefix}/bin/nmicmpd daemon: 75 notes " 76 To enable the ${startupitem.executable} daemon: 75 77 76 1) Add the following line to the /etc/services 'nmicmp 57777/tcp'. 77 Note: You may use another port if necessary. 78 1) Add the following line to /etc/services: 79 nmicmp 57777/tcp 80 (You may use another port if necessary.) 78 81 79 2) OS X 10.4 (see below for 10.3) - Load the LaunchDscript installed by MacPorts:80 sudo launchctl load -w /Library/LaunchDaemons/org.macports.nmicmpd.plist82 2) Load the launchd script installed by MacPorts: 83 sudo port load ${name} 81 84 82 85 3) Reboot and test the nmicmpd daemon: 83 telnet localhost nmicmp 84 ps -ax |grep nmicmpd (The daemon loads only when requested and unloads afterwards) 85 86 Additional instructions for OS X 10.3: 87 a) A startup item was created in /Library/StartupItems 88 Add \"NMICMPD=-YES-\" to the /etc/hostconfig file to run nmicmpd at system boot. 89 90 b) Add an xinetd entry: 91 92 service nmicmp 93 \{ 94 socket_type = stream 95 protocol = tcp 96 wait = no 97 user = root 98 server = ${prefix}/bin/nmicmpd 99 disable = no 100 \} 101 102 c) Reboot and test as shown in step 3 above. 103 \n" 104 } 105 86 telnet localhost nmicmp 87 ps -ax | grep nmicmpd 88 (The daemon loads only when requested and unloads afterwards.) 89 " -
trunk/dports/net/scotty/files/patch-Makefile.in
r71019 r99455 1 1 --- unix/Makefile.in.orig 2003-06-03 14:44:59.000000000 -0500 2 +++ unix/Makefile.in 2010-08-29 19:17:48.000000000 -0500 2 +++ unix/Makefile.in 2012-11-05 15:34:16.000000000 -0600 3 @@ -43,7 +43,7 @@ 4 TKI_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/lib/tkined$(TKI_VERSION) 5 6 # Top-level directory for manual entries: 7 -MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man 8 +MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/share/man 9 10 # Directory in which to install the manual entries: 11 MAN1_INSTALL_DIR = $(MAN_INSTALL_DIR)/man1 3 12 @@ -56,7 +56,7 @@ 4 13
Note: See TracChangeset
for help on using the changeset viewer.