Changeset View
Changeset View
Standalone View
Standalone View
converters/fribidi/Makefile
# Created by: ijliao | # Created by: ijliao | ||||
PORTNAME= fribidi | PORTNAME= fribidi | ||||
PORTVERSION= 1.0.10 | DISTVERSION= 1.0.11 | ||||
CATEGORIES= converters | CATEGORIES= converters | ||||
MASTER_SITES= https://github.com/fribidi/fribidi/releases/download/v${PORTVERSION}/ | MASTER_SITES= https://github.com/fribidi/fribidi/releases/download/v${DISTVERSION}/ | ||||
MAINTAINER= desktop@FreeBSD.org | MAINTAINER= desktop@FreeBSD.org | ||||
COMMENT= Free Implementation of the Unicode Bidirectional Algorithm | COMMENT= Free Implementation of the Unicode Bidirectional Algorithm | ||||
LICENSE= LGPL21 | LICENSE= LGPL21 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
USES= cpe meson tar:xz | USES= cpe meson python:3.6+,test shebangfix tar:xz | ||||
CPE_VENDOR= gnu | |||||
SHEBANG_FILES= test/test-runner.py | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
MESON_ARGS= -Dtests=false | |||||
CPE_VENDOR= gnu | TEST_TARGET= test | ||||
OPTIONS_DEFINE= OPTIMIZED_CFLAGS TEST | |||||
OPTIONS_DEFAULT=OPTIMIZED_CFLAGS | |||||
OPTIMIZED_CFLAGS_CFLAGS= -O3 | |||||
TEST_MESON_TRUE=tests | |||||
post-patch: | post-patch: | ||||
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' < \ | @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' < \ | ||||
${FILESDIR}/fribidi-config > ${WRKDIR}/fribidi-config | ${FILESDIR}/fribidi-config > ${WRKDIR}/fribidi-config | ||||
post-install: | post-install: | ||||
${INSTALL_SCRIPT} ${WRKDIR}/fribidi-config ${STAGEDIR}${PREFIX}/bin | ${INSTALL_SCRIPT} ${WRKDIR}/fribidi-config ${STAGEDIR}${PREFIX}/bin | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |