Skip to content

Commit

Permalink
textproc/libfolia: Use upstream release archive and minor fixes
Browse files Browse the repository at this point in the history
PR:		272176
  • Loading branch information
Daniel Engberg authored and yurivict committed Jun 25, 2023
1 parent dfecbd2 commit 3666083
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
12 changes: 6 additions & 6 deletions textproc/libfolia/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libfolia
DISTVERSIONPREFIX= v
DISTVERSION= 2.15
CATEGORIES= textproc
MASTER_SITES= https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/

MAINTAINER= yuri@FreeBSD.org
COMMENT= Library for FoLiA, a format for annotated language resources
Expand All @@ -10,20 +10,20 @@ WWW= https://proycon.github.io/folia/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive
LIB_DEPENDS= libicui18n.so:devel/icu \
libticcutils.so:devel/ticcutils

USES= autoreconf compiler:c++14-lang gmake gnome libtool pkgconfig
USES= compiler:c++14-lang gmake gnome libtool pkgconfig
USE_GNOME= libxml2
USE_LDCONFIG= yes

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static

USE_GITHUB= yes
GH_ACCOUNT= LanguageMachines

INSTALL_TARGET= install-strip

post-patch:
@${REINPLACE_CMD} -e 's|-g -O3||g' \
${PATCH_WRKSRC}/src/Makefile.in

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions textproc/libfolia/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1685379963
SHA256 (LanguageMachines-libfolia-v2.15_GH0.tar.gz) = c62f2707227d3f6b37089a7c83d870c08de318fc5739487a6e2836605328dff1
SIZE (LanguageMachines-libfolia-v2.15_GH0.tar.gz) = 198072
TIMESTAMP = 1687518481
SHA256 (libfolia-2.15.tar.gz) = e6f31069a13fb87a0c3330ef6037c5dd9df43e9e6f1d22d301f158bab03eafe4
SIZE (libfolia-2.15.tar.gz) = 610180
11 changes: 0 additions & 11 deletions textproc/libfolia/files/patch-src_Makefile.am

This file was deleted.

0 comments on commit 3666083

Please sign in to comment.