aboutsummaryrefslogtreecommitdiff
path: root/x11/xcalib
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2016-12-25 19:53:57 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2016-12-25 19:53:57 +0000
commitd214b2b083088cc695a11d3ddfde1400d8bc4b84 (patch)
tree602aedc1ed37eab15ef13b4c723c17a3c545a001 /x11/xcalib
parentb51f6e0c8220a4d2432be1674723d3f056fbf004 (diff)
downloadports-d214b2b083088cc695a11d3ddfde1400d8bc4b84.tar.gz
ports-d214b2b083088cc695a11d3ddfde1400d8bc4b84.zip
x11/xcalib: Fix permission of the executable.
Notes
Notes: svn path=/head/; revision=429459
Diffstat (limited to 'x11/xcalib')
-rw-r--r--x11/xcalib/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/xcalib/Makefile b/x11/xcalib/Makefile
index 00e0386d7d70..a0b0b00b8a5a 100644
--- a/x11/xcalib/Makefile
+++ b/x11/xcalib/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xcalib
PORTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= x11 graphics
MASTER_SITES= SF/openicc/xcalib/xcalib%200.9/
@@ -22,7 +23,7 @@ PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' -e 's|0644|0555|g'\
-e 's|CFLAGS =|CFLAFS ?=|g' -e 's|/usr/X11R6|${LOCALBASE}|g' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|if(i=0)|else|g' ${WRKSRC}/xcalib.c