aboutsummaryrefslogtreecommitdiff
path: root/converters/fconv/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 13:30:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 13:30:29 +0000
commit6a0c59c099b91251496a21f00589da9ebe207f5e (patch)
tree37da2e38658d2d99f869e47a084958d3c8d78639 /converters/fconv/Makefile
parentdfd28f85c945c211f3af6c62414a0881c9db1231 (diff)
downloadports-6a0c59c099b91251496a21f00589da9ebe207f5e.tar.gz
ports-6a0c59c099b91251496a21f00589da9ebe207f5e.zip
Notes
Diffstat (limited to 'converters/fconv/Makefile')
-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>