2013-09-20 19:18:38 +02:00
|
|
|
# Created by: wcarey
|
2005-07-03 18:37:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ledger
|
2011-08-18 02:17:51 +02:00
|
|
|
PORTVERSION= 2.6.3
|
2012-12-10 20:11:11 +01:00
|
|
|
PORTREVISION= 1
|
2005-07-03 18:37:59 +02:00
|
|
|
CATEGORIES= finance
|
2011-08-18 02:17:51 +02:00
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/jwiegley/${PORTNAME}/
|
2005-07-03 18:37:59 +02:00
|
|
|
|
2009-04-24 15:01:21 +02:00
|
|
|
MAINTAINER= woodycarey@hotmail.com
|
2005-07-03 18:37:59 +02:00
|
|
|
COMMENT= John Wiegley's command line accounting program
|
|
|
|
|
2011-08-18 02:17:51 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2010-04-19 12:43:42 +02:00
|
|
|
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
|
2005-07-03 18:37:59 +02:00
|
|
|
pcre:${PORTSDIR}/devel/pcre \
|
|
|
|
xmltok:${PORTSDIR}/www/libwww \
|
|
|
|
xmlparse:${PORTSDIR}/www/libwww
|
|
|
|
|
2009-04-24 15:01:21 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-11-02 17:25:16 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-07-03 18:37:59 +02:00
|
|
|
|
|
|
|
NO_INSTALL_MANPAGES= yes
|
|
|
|
INFO= ledger
|
|
|
|
|
2013-09-20 19:18:38 +02:00
|
|
|
NO_STAGE= yes
|
2009-04-24 15:01:21 +02:00
|
|
|
post-install:
|
2005-07-03 18:37:59 +02:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${MKDIR} ${EXAMPLESDIR}/scripts
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${EXAMPLESDIR}/scripts/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.dat ${EXAMPLESDIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/setup.py ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ledger.vim ${EXAMPLESDIR}
|
2009-04-24 15:01:21 +02:00
|
|
|
${RM} -f ${PREFIX}/share/emacs/site-lisp/*.elc
|
2005-07-03 18:37:59 +02:00
|
|
|
${CAT} pkg-message
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|