Index: tar.mk =================================================================== --- tar.mk (revision 0) +++ tar.mk (working copy) @@ -0,0 +1,28 @@ +# $FreeBSD$ +# +# handle tar archives +# +# MAINTAINER: portmgr@FreeBSD.org +# +# Feature: tar +# Usage: USES=tar[:[xz|Z|bzip2|tgz]] +# +.if !defined(_INCLUDE_USES_TAR_Mk) +_INCLUDE_USES_TAR_MK= yes + +tar_ARGS?= none + +.if ${tar_ARGS} == xz +EXTRACT_SUFX?= .tar.xz +.elif ${tar_ARGS} == bzip2 +EXTRACT_SUFX?= .tar.bz2 +.elif ${tar_ARGS} == tgz +EXTRACT_SUFX?= .tgz +.elif ${tar_ARGS} == Z +EXTRACT_SUFX?= .tar.Z +.elif ${tar_ARGS} == none +EXTRACT_SUFX?= .tar +.else +IGNORE= Incorrect 'USES+=tar:${tar_ARGS}' +.endif +.endif Property changes on: tar.mk ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property