aboutsummaryrefslogtreecommitdiffstats
path: root/converters/fribidi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/fribidi/Makefile')
-rw-r--r--converters/fribidi/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/converters/fribidi/Makefile b/converters/fribidi/Makefile
index 0c77828e5a5a..5678c2835096 100644
--- a/converters/fribidi/Makefile
+++ b/converters/fribidi/Makefile
@@ -8,6 +8,7 @@
PORTNAME= fribidi
PORTVERSION= 0.19.2
+PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= http://fribidi.org/download/
@@ -41,4 +42,11 @@ MAN3= fribidi_charset_to_unicode.3 fribidi_debug_status.3 \
CONFIGURE_ARGS= --disable-debug
.endif
+post-patch:
+ @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' < \
+ ${FILESDIR}/fribidi-config > ${WRKDIR}/fribidi-config
+
+post-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/fribidi-config ${PREFIX}/bin
+
.include <bsd.port.post.mk>