mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
ee9e31f735
- Support staging PR: ports/186801 [1] Submitted by: Matt Emmerton <matt@gsicomp.on.ca> (maintainer)
38 lines
924 B
Makefile
38 lines
924 B
Makefile
# Created by: Matt Emmerton <matt@gsicomp.on.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lifelines
|
|
PORTVERSION= 3.0.62
|
|
CATEGORIES= misc
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= matt@gsicomp.on.ca
|
|
COMMENT= An advanced genealogical system
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_BZIP2= yes
|
|
USES= bison iconv
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
.include <bsd.port.options.mk>
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,ncursesw/curses.h,curses.h,' \
|
|
${WRKSRC}/src/hdrs/mycurses.h
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
|
@${REINPLACE_CMD} -e 's,install-data-am: install-docDATA,install-data-am:,' \
|
|
${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e 's,install-data-am: install-dist_pkgdataDATA install-docDATA install-man,install-data-am: install-dist_pkgdataDATA,' \
|
|
${WRKSRC}/docs/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|