2012-03-29 09:38:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2012/03/29 13:38:49 sthen Exp $
|
2005-04-30 10:46:50 -04:00
|
|
|
|
2007-09-15 17:28:22 -04:00
|
|
|
COMMENT= command line double-entry accounting ledger
|
2005-04-30 10:46:50 -04:00
|
|
|
|
2010-10-13 20:02:24 -04:00
|
|
|
DISTNAME= ledger-2.6.3
|
2011-11-03 18:21:21 -04:00
|
|
|
REVISION= 0
|
2005-04-30 10:46:50 -04:00
|
|
|
CATEGORIES= productivity
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.newartisans.com/ledger.html
|
|
|
|
|
2010-10-13 20:02:24 -04:00
|
|
|
MAINTAINER= Sergey Bronnikov <estetus@gmail.com>
|
|
|
|
|
|
|
|
SHARED_LIBS= amounts 0.0
|
2005-04-30 10:46:50 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2010-10-13 20:02:24 -04:00
|
|
|
MASTER_SITES= http://github.com/downloads/jwiegley/ledger/
|
|
|
|
|
2011-11-03 18:21:21 -04:00
|
|
|
WANTLIB= c gmp>=4 m pcre stdc++
|
2005-04-30 10:46:50 -04:00
|
|
|
|
2010-11-20 04:48:38 -05:00
|
|
|
LIB_DEPENDS= devel/gmp \
|
|
|
|
devel/pcre
|
2005-04-30 10:46:50 -04:00
|
|
|
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2005-04-30 10:46:50 -04:00
|
|
|
|
2010-10-13 20:02:24 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2005-04-30 10:46:50 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2005-05-03 04:54:44 -04:00
|
|
|
CONFIGURE_ARGS= --disable-xml \
|
|
|
|
--disable-ofx
|
2005-04-30 10:46:50 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ledger
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/* ${PREFIX}/share/doc/ledger
|
2010-10-13 20:02:24 -04:00
|
|
|
.for f in ledger.texi ledger.vim
|
2005-04-30 10:46:50 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ledger
|
|
|
|
.endfor
|
2010-10-13 20:02:24 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ledger
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.dat ${PREFIX}/share/examples/ledger
|
2005-04-30 10:46:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|