Date: Mon, 26 Jun 2000 19:47:39 +0400 (MSD) From: "Sergey A. Borodin" <bor@soft.sun.mcst.ru> To: ports@freebsd.org, jkh@freebsd.org, www@netbsd.com, jtk@netbsd.org, rh@netbsd.org, jwise@netbsd.org, wulf@netbsd.org Subject: Please, Help me with prefix (@cwd keyword in PLIST file)!!! Message-ID: <200006261547.TAA106602@poplar.soft.sun.mcst.ru>
next in thread | raw e-mail | index | archive | help
Hi, all! I've found "FreeBSD Porter's Handbook" very helpful! Thanks! But I have some problem with prefix (@cwd keyword in PLIST file). Main information: I'm running under NetBSD 1.4 on SparcStation 10: net-bsd# uname -a NetBSD net-bsd 1.4 NetBSD 1.4 (GENERIC_SCSI3) #0: Sun May 9 04:05:20 MEST 1999 pk@flambard:/usr/src/sys/arch/sparc/compile/GENERIC_SCSI3 sparc net-bsd# I now that the pkg_create command first appeared in FreeBSD (as mentioned in man pages for pkg_create(1) command). I have some pre-compiled application and want to create package using pkg_create(1) command: pkg_create -B BUILD_INFO -c COMMENT -d DESC -f PLIST -v psh (you can see contents of BUILD_INFO, COMMENT, DESC and PLIST files below) but I have a problem with @cwd keyword in PLIST file! The main problem is: Binary and all necessary files are lain in /export/BOR/psh/src directory (including BUILD_INFO, COMMENT, DESC, PLIST files and psh directory - the application itself) and after running pkg_create(1) command I get psh.tgz package. I need that using 'pkg_add psh.tgz' command application will be installed to /opt/psh directory by default. Instead of it application is installed to /export/BOR/psh/src/psh directory by default. How can I point to when running pkg_create(1) command that application will be installed (using pkg_add(1) command without -p flag) to /opt/psh directory by default? Can anybody help me? BTW, can anybody point me a literature about package creation on NetBSD System? AND more, I don't use pkgsrc system!!! PS. I'm very sorry for my bad English! It's not my native language. Thank you very much in advance! SERGEY BORODIN BUILD_INFO file: ~~~~~~~~~~~~~~~~ OPSYS= NetBSD OS_VERSION= 1.4 MACHINE_ARCH= sparc MACHINE_GNU_ARCH= sparc CPPFLAGS= CFLAGS= -DNETBSD,-I/opt/tcltk/include,-fPIC LDFLAGS= -Bshareable,-ltcl76 -lm,-L/opt/tcltk/lib LICENSE= CONFIGURE_ARGS= --disable-shared --host=sparc--netbsd --prefix=/export/BOR/psh/opt CC= cc-egcs-1.1.1 PLIST file: ~~~~~~~~~~~ @name psh @cwd /export/BOR/psh/src @pkgdep tcl* @owner root @group wheel @mode 0755 psh/bin/psh psh/lib/data psh/lib/socket @mode 0644 psh/README psh/tcllib/data.proto psh/tcllib/dhcp.proto psh/tcllib/ether.proto psh/tcllib/file.proto psh/tcllib/hopopt.proto psh/tcllib/icmp.proto psh/tcllib/ioctl_array.tcl psh/tcllib/ip.proto psh/tcllib/ipv6-frag.proto psh/tcllib/ipv6-icmp.proto psh/tcllib/ipv6-opts.proto psh/tcllib/ipv6-route.proto psh/tcllib/ipv6.proto psh/tcllib/pbuild.tk psh/tcllib/pinfo.tcl psh/tcllib/pshrc psh/tcllib/socket.proto psh/tcllib/streams.proto psh/tcllib/syscall.proto psh/tcllib/tcp.proto psh/tcllib/tli.proto psh/tcllib/pbuild/pbuild.ui.tcl psh/tcllib/pbuild/pbuild_1.ui.tcl psh/tcllib/pbuild/pbuild_2.ui.tcl psh/tcllib/pbuild/pbuild_3.ui.tcl psh/tcllib/pbuild/pbuild_4.ui.tcl @dirrm psh/tcllib/pbuild @dirrm psh/tcllib @dirrm psh/lib @dirrm psh/bin @dirrm psh @ignore COMMENT @ignore DESC @ignore PLIST @ignore BUILD_INFO COMMENT file: ~~~~~~~~~~~~~ Packet Shell DESC file: ~~~~~~~~~~ This package contains the binary release of Packet Shell and utility scripts. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006261547.TAA106602>