Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2004 23:26:03 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Call for feedback on a Ports-collection change
Message-ID:  <20040109232603.3486c0da@Magellan.Leidinger.net>
In-Reply-To: <3FFE2602.3000105@ciam.ru>
References:  <p0602041abc1660a416d0@[128.113.24.47]> <200401090233.51499.max@love2party.net> <p0602043abc23baee469f@[128.113.24.47]> <3FFE2602.3000105@ciam.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 09 Jan 2004 06:54:42 +0300
Sergey Matveychuk <sem@ciam.ru> wrote:

> Even separated pkg-install and pkg-deinstall has a logic: pkg-install 
> will run only when you install a package not a port. pkg-deistall will 
> run always you deinstall the port.

---snip---
/usr/ports/chinese/pine4/Makefile:      ${SH} pkg-install
/usr/ports/databases/postgresql-devel/Makefile: @${SH} ${PKGDIR}/pkg-install ${PORTNAME} BACKUPWARNING
/usr/ports/databases/postgresql-devel/Makefile:         ${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL
/usr/ports/databases/postgresql72/Makefile:             ${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL
/usr/ports/devel/perforce/Makefile:             ${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL
/usr/ports/games/lbreakout2/Makefile:               ${SH} pkg-install ${PKGNAME} POST-INSTALL
[...]
---snip---

So I think we can collapse both into one, as both can get called
regardless of port of package.

But I don't see much more potential in the actual ports infrastructure
to safe inodes while maintaining the actual ease of use for a port
developer. For simple ports which just need a barebones Makefile, a
plist, a distinfo an a descr, a collapsed format may be easy to handle,
but we have a lot of ports which are not that simple. Creating lang/icc
in such a scheme would have been much more time consuming for me.

Bye,
Alexander.

-- 
           I will be available to get hired in April 2004.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040109232603.3486c0da>