From ce84f6f3ddab4678d6de0203039cdbc927c9ee72 Mon Sep 17 00:00:00 2001 From: bapt Date: Thu, 9 Jan 2014 13:30:29 +0000 Subject: Support stage Allow packaging as a user --- converters/fconv/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'converters/fconv') diff --git a/converters/fconv/Makefile b/converters/fconv/Makefile index beaaaf913d17..b945f4cfb52c 100644 --- a/converters/fconv/Makefile +++ b/converters/fconv/Makefile @@ -11,11 +11,12 @@ MASTER_SITE_SUBDIR= chris MAINTAINER= chris@FreeBSD.org COMMENT= Converts DOS or Mac-style files to Unix format, and vice-versa -MAKE_ENV+= INSTALLDIR=${PREFIX}/bin +USES= uidfix -NO_STAGE= yes -post-extract: - @${REINPLACE_CMD} "s|^INSTALLDIR.*=|INSTALLDIR?=|" \ +MAKE_ARGS+= INSTALLDIR=${STAGEDIR}${PREFIX}/bin + +post-patch: + @${REINPLACE_CMD} 's/root/${UID}/g; s/wheel/${GID}/g' \ ${WRKSRC}/Makefile .include -- cgit