aboutsummaryrefslogtreecommitdiffstats
path: root/converters/fconv
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-09 21:30:29 +0800
committerbapt <bapt@FreeBSD.org>2014-01-09 21:30:29 +0800
commitce84f6f3ddab4678d6de0203039cdbc927c9ee72 (patch)
tree37da2e38658d2d99f869e47a084958d3c8d78639 /converters/fconv
parentc344c8916be3c0ed2790c2eaf0ef7d4ecfb72387 (diff)
downloadfreebsd-ports-gnome-ce84f6f3ddab4678d6de0203039cdbc927c9ee72.tar.gz
freebsd-ports-gnome-ce84f6f3ddab4678d6de0203039cdbc927c9ee72.tar.zst
freebsd-ports-gnome-ce84f6f3ddab4678d6de0203039cdbc927c9ee72.zip
Support stage
Allow packaging as a user
Diffstat (limited to 'converters/fconv')
-rw-r--r--converters/fconv/Makefile9
1 files changed, 5 insertions, 4 deletions
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 <bsd.port.mk>