svn commit: r358745 - in head/finance/ledger: . files
William Grzybowski
wg at FreeBSD.org
Sat Jun 21 21:11:54 UTC 2014
Author: wg
Date: Sat Jun 21 21:11:53 2014
New Revision: 358745
URL: http://svnweb.freebsd.org/changeset/ports/358745
QAT: https://qat.redports.org/buildarchive/r358745/
Log:
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
Added:
head/finance/ledger/files/
head/finance/ledger/files/pkg-message.in
- copied, changed from r358565, head/finance/ledger/pkg-message
Deleted:
head/finance/ledger/pkg-message
Modified:
head/finance/ledger/Makefile
head/finance/ledger/pkg-plist
Modified: head/finance/ledger/Makefile
==============================================================================
--- head/finance/ledger/Makefile Sat Jun 21 21:01:28 2014 (r358744)
+++ head/finance/ledger/Makefile Sat Jun 21 21:11:53 2014 (r358745)
@@ -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 at 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>
Copied and modified: head/finance/ledger/files/pkg-message.in (from r358565, head/finance/ledger/pkg-message)
==============================================================================
--- head/finance/ledger/pkg-message Fri Jun 20 12:15:46 2014 (r358565, copy source)
+++ head/finance/ledger/files/pkg-message.in Sat Jun 21 21:11:53 2014 (r358745)
@@ -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!
Modified: head/finance/ledger/pkg-plist
==============================================================================
--- head/finance/ledger/pkg-plist Sat Jun 21 21:01:28 2014 (r358744)
+++ head/finance/ledger/pkg-plist Sat Jun 21 21:11:53 2014 (r358745)
@@ -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
More information about the svn-ports-all
mailing list