ffc5a9fea4
ok Sergey Bronnikov (MAINTAINER)
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2013/03/06 05:04:40 bentley Exp $
|
|
|
|
COMMENT= command line double-entry accounting ledger
|
|
|
|
DISTNAME= ledger-2.6.3
|
|
REVISION= 1
|
|
CATEGORIES= productivity
|
|
|
|
HOMEPAGE= http://www.ledger-cli.org/
|
|
|
|
MAINTAINER= Sergey Bronnikov <estetus@gmail.com>
|
|
|
|
SHARED_LIBS= amounts 0.0
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://github.com/downloads/jwiegley/ledger/
|
|
|
|
WANTLIB= c gmp>=4 m pcre stdc++
|
|
|
|
LIB_DEPENDS= devel/gmp \
|
|
devel/pcre
|
|
|
|
SEPARATE_BUILD= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --disable-xml \
|
|
--disable-ofx
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ledger
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/* ${PREFIX}/share/doc/ledger
|
|
.for f in ledger.texi ledger.vim
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ledger
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ledger
|
|
${INSTALL_DATA} ${WRKSRC}/sample.dat ${PREFIX}/share/examples/ledger
|
|
|
|
.include <bsd.port.mk>
|