aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2014-06-21 21:11:53 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2014-06-21 21:11:53 +0000
commitd81f9f8cd2e235ffdc3ffc73981e566388cb9467 (patch)
treeca85e7c65e5fc1a5be0b1b647406a086848e3ea3 /finance
parent15c362b2f5fc6cf928233860b70e93768c22ffe1 (diff)
downloadports-d81f9f8cd2e235ffdc3ffc73981e566388cb9467.tar.gz
ports-d81f9f8cd2e235ffdc3ffc73981e566388cb9467.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/ledger/Makefile32
-rw-r--r--finance/ledger/files/pkg-message.in (renamed from finance/ledger/pkg-message)2
-rw-r--r--finance/ledger/pkg-plist3
3 files changed, 18 insertions, 19 deletions
diff --git a/finance/ledger/Makefile b/finance/ledger/Makefile
index 116a58f8b569..13ba96058328 100644
--- a/finance/ledger/Makefile
+++ b/finance/ledger/Makefile
@@ -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>
diff --git a/finance/ledger/pkg-message b/finance/ledger/files/pkg-message.in
index 34010c98bd29..ebdc179d62d5 100644
--- a/finance/ledger/pkg-message
+++ b/finance/ledger/files/pkg-message.in
@@ -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!
diff --git a/finance/ledger/pkg-plist b/finance/ledger/pkg-plist
index 07d8230f4512..4820c0501b4d 100644
--- a/finance/ledger/pkg-plist
+++ b/finance/ledger/pkg-plist
@@ -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