1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/converters/fribidi/Makefile
Sunpoet Po-Chuan Hsieh 8cfd3449b4 Update MASTER_SITES to unbreak this port
===>  License LGPL21 accepted by the user
=> fribidi-0.19.7.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://fribidi.org/download/fribidi-0.19.7.tar.bz2
fetch: http://fribidi.org/download/fribidi-0.19.7.tar.bz2: size unknown
fetch: http://fribidi.org/download/fribidi-0.19.7.tar.bz2: size of remote file is not known
fribidi-0.19.7.tar.bz2                                  10 kB   66 kBps    00s
=> Fetched file size mismatch (expected 648299, actual 10414)
=> Trying next site
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/%SUBDIR%/fribidi-0.19.7.tar.bz2
fetch: http://distcache.FreeBSD.org/local-distfiles/%SUBDIR%/fribidi-0.19.7.tar.bz2: Bad Request
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/converters/fribidi

PR:		244477
Reported by:	Dries Michiels <driesm.michiels@gmail.com>
Approved by:	portmgr (blanket)
2020-02-27 21:25:51 +00:00

33 lines
769 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= fribidi
PORTVERSION= 0.19.7
CATEGORIES= converters
MASTER_SITES= https://github.com/fribidi/fribidi/releases/download/${PORTVERSION}/
MAINTAINER= gnome@FreeBSD.org
COMMENT= Free Implementation of the Unicode Bidirectional Algorithm
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake libtool pathfix tar:bz2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static --without-glib
INSTALL_TARGET= install-strip
.if !defined(WITH_DEBUG)
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 ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>