head	1.2;
access;
symbols
	pkgsrc-2026Q2:1.1.0.20
	pkgsrc-2026Q2-base:1.1
	pkgsrc-2026Q1:1.1.0.18
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.16
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.14
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.12
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.10
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.8
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.6
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.4
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.2
	pkgsrc-2024Q1-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2026.08.04.20.29.17;	author wiz;	state Exp;
branches;
next	1.1;
commitid	NqgRXEqcORbApmQG;

1.1
date	2024.01.02.00.53.07;	author ryoon;	state Exp;
branches;
next	;
commitid	i4HhlorMMRigiOSE;


desc
@@


1.2
log
@*: add LDFLAGS overide that was previously in mk

This is a workaround and should be fixed properly per-package - they
should use the pkgsrc LDFLAGS, but this restores what happened
before the mk/ cleanup.

Fixes relro build for packages that do not honor LDFLAGS.

Package list provided by mef@@, thanks!

Workaround commit requested by bsiegert on tech-pkg.
@
text
@# $NetBSD: Makefile,v 1.1 2024/01/02 00:53:07 ryoon Exp $

DISTNAME=		enju-2.4.4pre20180629
CATEGORIES=		textproc
MASTER_SITES=		${MASTER_SITE_GITHUB:=mynlp/}
GITHUB_PROJECT=		enju
GITHUB_TAG=		d984a630b30b95de16f3b715277e95dc6fbe15b4

MAINTAINER=		ryoon@@NetBSD.org
HOMEPAGE=		https://mynlp.is.s.u-tokyo.ac.jp/enju/
COMMENT=		Natural language parser for English based on HPSG grammar
LICENSE=		apache-2.0 # AND wordnet-3.0

USE_TOOLS+=		bison flex perl gsed
USE_LANGUAGES+=		c c++03
GNU_CONFIGURE=		yes

REPLACE_PERL+=		enju2ptb/script/*.prl

REPLACE_INTERPRETER+=	sed
REPLACE.sed.old=	/bin/sed
REPLACE.sed.new=	${SED}
REPLACE_FILES.sed=	enju2ptb/script/*.sed

_TOOLS_USE_PKGSRC.gsed=	yes
#TOOLS_IGNORE.gsed=	yes

# FIXME: replace by proper LDFLAGS handling
_WRAP_EXTRA_ARGS.CC+=	${_RELRO_LDFLAGS}
_WRAP_EXTRA_ARGS.CXX+=	${_RELRO_LDFLAGS}
CWRAPPERS_PREPEND.cc+=	${_RELRO_LDFLAGS}
CWRAPPERS_PREPEND.cxx+=	${_RELRO_LDFLAGS}

.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:Q}
.include "../../mk/bsd.pkg.mk"
@


1.1
log
@textproc/enju: import enju-2.4.4pre20180629

Enju is an accurate natural language parser for English. With a
wide-coverage probabilistic HPSG grammar and an efficient parsing
algorithm, this parser can effectively analyze syntactic/semantic
structures of English sentences and provide a user with phrase
structures and predicate-argument structures.  Those outputs would
be especially useful for high-level NLP applications, including
information extraction, automatic summarization, question answering,
and machine translation, where the "meaning" of a sentence plays
a central role.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2023/08/14 05:24:35 wiz Exp $
d28 6
@

