974099d0bd
Recent versions of gettext no longer install m4 files in PREFIX/share/aclocal. They have to be installed in the work directory by autopoint for aclocal to find them. Patch devel/autoconf so autoreconf runs autopoint when gettext related macros are used in configure.ac (e.g. AM_ICONV). Previously it only ran autopoint when AM_GNU_GETTEXT_(REQUIRE_)VERSION was used. The following ports now require autopoint (i.e. USES=gettext-tools): benchmarks/sysbench, devel/libhtp, editors/fxite, filesystems/rar2fs, graphics/gd, net/ucarp, news/fidogate, sysutils/cdrdao Other fixes: emulators/mednafen, misc/lifelines: Use older version of gettext macros. ftp/axel: Patch Makefile.am and configure.ac to get gettext working and add NLS option. ftp/wzdftpd: Use autoreconf 2.72. mail/sympa: Remove hack from configure.ac. multimedia/dvdauthor: Use ports autoreconf. net/asterisk-chan_sccp: Drop autoreconf and gettext-tools dependencies. security/pam_pkcs11: Patch configure.ac so autoreconf can find the custom directory with m4 files. sysutils/grub2-efi, sysutils/grub2-pcbsd: Add patch to run autoreconf with -f flag so it updates all files. www/wget2: Patch configure.ac to what autopoint expects. PR: 287167 Exp-run by: antoine
52 lines
1.4 KiB
Makefile
52 lines
1.4 KiB
Makefile
PORTNAME= lifelines
|
|
DISTVERSION= 3.1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= misc
|
|
MASTER_SITES= https://github.com/lifelines/lifelines/releases/download/${DISTVERSION}/
|
|
|
|
MAINTAINER= matt@gsicomp.on.ca
|
|
COMMENT= Advanced genealogical system
|
|
WWW= https://lifelines.github.io/lifelines/
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= autoreconf bison gettext-tools gmake iconv ncurses
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= YACC="bison -y"
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CONFLICTS_INSTALL= atheme-services # bin/dbverify
|
|
|
|
# Lifelines always installs documenatation. This is contrary to the FreeBSD
|
|
# norm which uses --with-docs (aka DOCS) to do so. We patch the Makefiles
|
|
# below in pre-patch.
|
|
# Lifelines uses --with-docs to indicate that the full XML docbook toolcahin
|
|
# needs to be installed to build the docs. We use BUILDDOCS for that purpose.
|
|
|
|
OPTIONS_DEFINE= BUILDDOCS DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
BUILDDOCS_DESC= Build documentation (requires docbook toolchain)
|
|
DOCS_DESC= Install documentation
|
|
NLS_DESC= Build with NLS support
|
|
|
|
BUILDDOCS_BUILD_DEPENDS= dblatex:textproc/dblatex \
|
|
xmlto:textproc/xmlto
|
|
BUILDDOCS_CONFIGURE_WITH= docs
|
|
|
|
NLS_USES= gettext-runtime
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's,ncursesw/curses.h,curses.h,' \
|
|
${WRKSRC}/src/hdrs/mycurses.h
|
|
|
|
pre-patch-DOCS-off:
|
|
@${REINPLACE_CMD} -e 's,^doc_DATA.*,doc_DATA = .linesrc lines.cfg,' \
|
|
${WRKSRC}/Makefile.am
|
|
@${REINPLACE_CMD} -e 's,^doc_DATA.*,doc_DATA=,' \
|
|
${WRKSRC}/docs/manual/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|