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
This commit is contained in:
parent
15c362b2f5
commit
d81f9f8cd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358745
3 changed files with 18 additions and 19 deletions
|
@ -3,38 +3,38 @@
|
|||
|
||||
PORTNAME= ledger
|
||||
PORTVERSION= 2.6.3
|
||||
PORTREVISION= 1
|
||||
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= BSD
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
|
||||
pcre:${PORTSDIR}/devel/pcre \
|
||||
xmltok:${PORTSDIR}/www/libwww \
|
||||
xmlparse:${PORTSDIR}/www/libwww
|
||||
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
|
||||
|
||||
NO_INSTALL_MANPAGES= yes
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
INFO= ledger
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
${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}
|
||||
${RM} -f ${PREFIX}/share/emacs/site-lisp/*.elc
|
||||
${CAT} pkg-message
|
||||
${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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
This port has installed sample data files, python samples and script samples
|
||||
for ledger in ${PREFIX}/share/examples/ledger/
|
||||
for ledger in %%PREFIX%%/share/examples/ledger/
|
||||
Have fun!
|
|
@ -30,12 +30,11 @@ include/ledger/value.h
|
|||
include/ledger/walk.h
|
||||
include/ledger/xml.h
|
||||
lib/libamounts.a
|
||||
lib/libamounts.la
|
||||
lib/libamounts.so
|
||||
lib/libamounts.so.0
|
||||
lib/libamounts.so.0.0.0
|
||||
lib/libledger-2.6.3.so
|
||||
lib/libledger.a
|
||||
lib/libledger.la
|
||||
lib/libledger.so
|
||||
%%EXAMPLESDIR%%/ledger.vim
|
||||
%%EXAMPLESDIR%%/sample.dat
|
||||
|
|
Loading…
Reference in a new issue