openbsd-ports/misc/lifelines/Makefile

32 lines
812 B
Makefile

# $OpenBSD: Makefile,v 1.4 2008/12/30 10:33:39 sthen Exp $
COMMENT= genealogical database and programming system
DISTNAME= lifelines-3.0.60
PKGNAME= ${DISTNAME}p1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lifelines/}
HOMEPAGE= http://lifelines.sourceforge.net/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= YACC="bison -y" \
LDFLAGS="-L/usr/local/lib" \
LIBS="-liconv -lintl"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
BUILD_DEPENDS= ::devel/bison
MODULES= devel/gettext
WANTLIB= c m ncurses iconv
USE_GMAKE= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lifelines
${INSTALL_DATA} ${FILESDIR}/linesrc ${PREFIX}/share/examples/lifelines
.include <bsd.port.mk>