Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 13:30:29 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339230 - head/converters/fconv
Message-ID:  <201401091330.s09DUT36046484@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan  9 13:30:29 2014
New Revision: 339230
URL: http://svnweb.freebsd.org/changeset/ports/339230

Log:
  Support stage
  Allow packaging as a user

Modified:
  head/converters/fconv/Makefile

Modified: head/converters/fconv/Makefile
==============================================================================
--- head/converters/fconv/Makefile	Thu Jan  9 13:27:26 2014	(r339229)
+++ head/converters/fconv/Makefile	Thu Jan  9 13:30:29 2014	(r339230)
@@ -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 <bsd.port.mk>



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