1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/misc/lifelines/Makefile
Marcus von Appen a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Matt Emmerton <matt@gsicomp.on.ca>
# $FreeBSD$
PORTNAME= lifelines
PORTVERSION= 3.0.51
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20beta%20versions/${PORTVERSION}
MAINTAINER= matt@gsicomp.on.ca
COMMENT= An advanced genealogical system
GNU_CONFIGURE= yes
USE_BZIP2= yes
USES= bison iconv
MAN1= btedit.1 dbverify.1 llines.1
.if !defined(WITHOUT_NLS)
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
.ifdef NOPORTDOCS
@${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
post-install:
.for file in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/docs/${file} ${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>