List of things need to cleanup the infrastructure.

refactor extract

make the portstree autodetermine the right extraction tool based on the distfile suffix, to get rid of all those USE_BZIP2,USE_XZ,USE_..., while here stop piping to tar and direct call tar when possible it has autodection on the format. This should cleanup a bit bsd.port.mk, this should speed up make extract as libarchive as some optimisations on the file opening the pipe prevent.

support .rpm

all the tar version on supported ports do support rpm extraction, no need anymore for rpm2cpio or others

tar for .zip and allow to for zipinfo

tar do support zip most of the time having a macro to say you really need zipinfo to override will allow to improve

nuke EXTRACT_PRESERVE_OWNERSHIP

it is not needed anymore

move MTREE_CMD TOUCH PATCH TAR READLINK etc definition to bsd.commands.mk)

more cleanups

All COPYTREE_* should use should use pax

this will avoid a useless fork and simplify the macro

nuke MOTIFLIB

This is totally not needed in bsd.porT.mk

extract USE_GMAKE into a gmake.mk

This should cleanup a bit bsd.port.mk, while making gmake.mk more readable

extract USE_PKGCONFIG into a pkgconfig.mk

This should cleanup a bit bsd.port.mk, while making pkgconfig.mk more readable

LIB_DEPENDS is totally wrong and needs to be reworked

...

move WWW to Makefile

Ports/BaptTODO (last edited 2013-04-17 06:44:17 by BaptisteDaroussin)