41 lines
936 B
Makefile
41 lines
936 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2005/04/30 14:46:50 alek Exp $
|
||
|
|
||
|
COMMENT= "command line double-entry accounting ledger"
|
||
|
|
||
|
DISTNAME= ledger-2.2
|
||
|
CATEGORIES= productivity
|
||
|
|
||
|
HOMEPAGE= http://www.newartisans.com/ledger.html
|
||
|
|
||
|
MAINTAINER= Jim Razmus <jim@bonetruck.org>
|
||
|
|
||
|
# GPL
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
|
||
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ledger/}
|
||
|
|
||
|
WANTLIB= m stdc++ c
|
||
|
|
||
|
LIB_DEPENDS= gmp.4::devel/gmp \
|
||
|
pcre.0::devel/pcre
|
||
|
|
||
|
SEPARATE_BUILD= concurrent
|
||
|
|
||
|
CONFIGURE_STYLE=gnu
|
||
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||
|
LDFLAGS="-L${LOCALBASE}/lib"
|
||
|
CONFIGURE_FALGS=--disalbe-xml \
|
||
|
--enable-ofx
|
||
|
|
||
|
post-install:
|
||
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ledger
|
||
|
${INSTALL_DATA} ${WRKSRC}/scripts/* ${PREFIX}/share/doc/ledger
|
||
|
.for f in ledger.pdf ledger.texi ledger.vim
|
||
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ledger
|
||
|
.endfor
|
||
|
|
||
|
.include <bsd.port.mk>
|