svn commit: r339230 - head/converters/fconv

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 9 13:30:29 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list