diff options
author | 2001-07-22 05:00:18 +0000 | |
---|---|---|
committer | 2001-07-22 05:00:18 +0000 | |
commit | f53203848c84c19ad7d6fa0d4c716486d5742df6 (patch) | |
tree | b25a0b8eab736318ad5e213458002b86fd7d98c8 /net-ftp | |
parent | Arghh. ${D} in if test causes it to always be true. Fixed. (diff) | |
download | historical-f53203848c84c19ad7d6fa0d4c716486d5742df6.tar.gz historical-f53203848c84c19ad7d6fa0d4c716486d5742df6.tar.bz2 historical-f53203848c84c19ad7d6fa0d4c716486d5742df6.zip |
Removed pkg_postinst and moved symbolic link of /usr/bin/lukemftp ->
/usr/bin/ftp tp pkg_install.
As a note, if I recall correctly from a discussion with Achim (about 8
months ago, so my memory may be fuzzy), pkg_install should include all
files and links and things that must be managed in a
mergeable/unmergeable manner (eg anything in CONTENTS should be done
during the pkg_install faze).
pkg_postinst is for settings that shouldn't change or affect the
contents (things like rc-update or running a configuration program).
We should make sure that this is the case and note it somewhere.
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/lukemftp/files/digest-lukemftp-1.5-r1 (renamed from net-ftp/lukemftp/files/digest-lukemftp-1.5) | 0 | ||||
-rw-r--r-- | net-ftp/lukemftp/lukemftp-1.5-r1.ebuild (renamed from net-ftp/lukemftp/lukemftp-1.5.ebuild) | 26 |
2 files changed, 13 insertions, 13 deletions
diff --git a/net-ftp/lukemftp/files/digest-lukemftp-1.5 b/net-ftp/lukemftp/files/digest-lukemftp-1.5-r1 index 51571a363bc9..51571a363bc9 100644 --- a/net-ftp/lukemftp/files/digest-lukemftp-1.5 +++ b/net-ftp/lukemftp/files/digest-lukemftp-1.5-r1 diff --git a/net-ftp/lukemftp/lukemftp-1.5.ebuild b/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild index a80724ce8992..3461d03ccbb2 100644 --- a/net-ftp/lukemftp/lukemftp-1.5.ebuild +++ b/net-ftp/lukemftp/lukemftp-1.5-r1.ebuild @@ -10,23 +10,23 @@ DESCRIPTION="NetBSD FTP client" SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/${A}" DEPEND="virtual/glibc - >=sys-libs/ncurses-5.1" + >=sys-libs/ncurses-5.1" + src_compile() { - try ./configure --host=$${CHOST} --prefix=/usr --enable-editcomplete --program-prefix=lukemftp - try make + try ./configure --host=$${CHOST} --prefix=/usr \ + --enable-editcomplete --program-prefix=lukemftp + + try make } src_install() { - newbin src/ftp lukemftp - newman src/ftp.1 lukemftp.1 - dodoc COPYING ChangeLog README* THANKS NEWS -} + newbin src/ftp lukemftp + newman src/ftp.1 lukemftp.1 + dodoc COPYING ChangeLog README* THANKS NEWS -pkg_postinst() { - if [ ! -e ${ROOT}usr/bin/ftp ] - then - ln -s lukemftp ${ROOT}/usr/bin/ftp - fi + cd ${D}/usr/bin + if [ ! -e /usr/bin/ftp ]; then + ln -s lukemftp ftp + fi } - |