summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-06-07 21:21:33 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-06-07 21:21:33 +0000
commit5298ebc49512774d578d13b0d98ee318923d3534 (patch)
tree95a71711a9d76d75a660fb2637bc189d173b951a
parent48d9143444c6483ae6d1a0cc631de3f27ac871cf (diff)
downloadfreebsd-ports-5298ebc49512774d578d13b0d98ee318923d3534.zip
Allow staging as a regular user
-rw-r--r--graphics/scr2png/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/scr2png/Makefile b/graphics/scr2png/Makefile
index 2de0ead8982d..3868099b0374 100644
--- a/graphics/scr2png/Makefile
+++ b/graphics/scr2png/Makefile
@@ -14,9 +14,10 @@ COMMENT= Converts the output of "vidcontrol -p" to PNG
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
NO_WRKSUBDIR= yes
+USES= uidfix
+MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
PLIST_FILES= bin/scr2png man/man1/scr2png.1.gz
-MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}
pre-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile