Index: head/Mk/Uses/libarchive.mk =================================================================== --- head/Mk/Uses/libarchive.mk (nonexistent) +++ head/Mk/Uses/libarchive.mk (revision 392507) @@ -0,0 +1,16 @@ +# $FreeBSD$ +# +# handle dependency on the libarchive port +# +# Feature: libarchive +# Usage: USES=libarchive +# Valid ARGS: none +# +# MAINTAINER: portmgr@FreeBSD.org + +.if !defined(_INCLUDE_USES_LIBARCHIVE_MK) +_INCLUDE_USES_LIBARCHIVE_MK= yes +.include "${USESDIR}/localbase.mk" + +LIB_DEPENDS+= libarchive.so.13:${PORTSDIR}/archivers/libarchive +.endif Property changes on: head/Mk/Uses/libarchive.mk ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/Mk/Uses/libedit.mk =================================================================== --- head/Mk/Uses/libedit.mk (nonexistent) +++ head/Mk/Uses/libedit.mk (revision 392507) @@ -0,0 +1,16 @@ +# $FreeBSD$ +# +# handle dependency on the libedit port +# +# Feature: libedit +# Usage: USES=libedit +# Valid ARGS: none +# +# MAINTAINER: portmgr@FreeBSD.org + +.if !defined(_INCLUDE_USES_LIBEDIT_MK) +_INCLUDE_USES_LIBEDIT_MK= yes +.include "${USESDIR}/localbase.mk" + +LIB_DEPENDS+= libedit.so.0:${PORTSDIR}/devel/libedit +.endif Property changes on: head/Mk/Uses/libedit.mk ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/Mk/Uses/localbase.mk =================================================================== --- head/Mk/Uses/localbase.mk (nonexistent) +++ head/Mk/Uses/localbase.mk (revision 392507) @@ -0,0 +1,18 @@ +# $FreeBSD$ +# +# handle enforcing localbase in path +# +# Feature: localbase +# Usage: USES=localbase +# Valid ARGS: none +# +# MAINTAINER: portmgr@FreeBSD.org + +.if !defined(_INCLUDE_USES_LOCALBASE_MK) +_INCLUDE_USES_LOCALBASE_MK= yes + +CPPFLAGS+= -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include +CXXFLAGS+= -I${LOCALBASE}include +LDFLAGS+= -L${LOCALBASE}/lib +.endif Property changes on: head/Mk/Uses/localbase.mk ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property