1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/finance/ledger/Makefile
William Grzybowski d81f9f8cd2 finance/ledger: support stage
- Support stage [1]
- Adjust LICENSE [1]
- USES libtool dropping .la [1]
- Convert lib depends to new syntax [1]
- Install stripped libraries
- Fix pkg-message to show correct path

PR:		191051
Submitted by:	Keith Gaughan
2014-06-21 21:11:53 +00:00

41 lines
1.0 KiB
Makefile

# Created by: wcarey
# $FreeBSD$
PORTNAME= ledger
PORTVERSION= 2.6.3
PORTREVISION= 2
CATEGORIES= finance
MASTER_SITES= http://cloud.github.com/downloads/jwiegley/${PORTNAME}/
MAINTAINER= woodycarey@hotmail.com
COMMENT= John Wiegley's command line accounting program
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
libpcre.so:${PORTSDIR}/devel/pcre \
libxmltok.so:${PORTSDIR}/www/libwww \
libxmlparse.so:${PORTSDIR}/www/libwww
USES= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww
LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
INSTALL_TARGET= install-strip
INFO= ledger
post-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/scripts
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${EXAMPLESDIR}/scripts/
${INSTALL_DATA} ${WRKSRC}/sample.dat ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/setup.py ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/ledger.vim ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>