aboutsummaryrefslogtreecommitdiffstats
path: root/finance/ktoblzcheck
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2013-10-19 22:39:12 +0800
committerjhale <jhale@FreeBSD.org>2013-10-19 22:39:12 +0800
commit27ee847ec43891422df1f379e1f20fce9b89fc86 (patch)
treeb095fa9de42630e583a501972459064b4c0fe665 /finance/ktoblzcheck
parent5550d6da06cd7ee88545c2a57bb8bd47fdb9d102 (diff)
downloadfreebsd-ports-gnome-27ee847ec43891422df1f379e1f20fce9b89fc86.tar.gz
freebsd-ports-gnome-27ee847ec43891422df1f379e1f20fce9b89fc86.tar.zst
freebsd-ports-gnome-27ee847ec43891422df1f379e1f20fce9b89fc86.zip
- Support staging
- Use options helpers
Diffstat (limited to 'finance/ktoblzcheck')
-rw-r--r--finance/ktoblzcheck/Makefile17
-rw-r--r--finance/ktoblzcheck/pkg-plist1
2 files changed, 5 insertions, 13 deletions
diff --git a/finance/ktoblzcheck/Makefile b/finance/ktoblzcheck/Makefile
index 2b6b3206bc44..c52c0d85637a 100644
--- a/finance/ktoblzcheck/Makefile
+++ b/finance/ktoblzcheck/Makefile
@@ -11,24 +11,15 @@ COMMENT= Check bank codes of German banks
LICENSE= GPLv2
-USES= pathfix
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-MAN1= ktoblzcheck.1
-
OPTIONS_DEFINE= PYTHON
+OPTIONS_SUB= yes
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON= yes
-PLIST_SUB+= PYTHON=""
-.else
-CONFIGURE_ARGS+=--disable-python
-PLIST_SUB+= PYTHON="@comment "
-.endif
+PYTHON_USE= PYTHON=yes
+PYTHON_CONFIGURE_ENABLE= python
post-patch:
@${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/src/lib/Makefile.in
diff --git a/finance/ktoblzcheck/pkg-plist b/finance/ktoblzcheck/pkg-plist
index 7da26c5daed8..277eefbe9927 100644
--- a/finance/ktoblzcheck/pkg-plist
+++ b/finance/ktoblzcheck/pkg-plist
@@ -9,6 +9,7 @@ lib/libktoblzcheck.so.6
%%PYTHON%%%%PYTHON_SITELIBDIR%%/ktoblzcheck.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/ktoblzcheck.pyo
libdata/pkgconfig/ktoblzcheck.pc
+man/man1/ktoblzcheck.1.gz
share/ktoblzcheck/bankdata_20130603.txt
share/ktoblzcheck/bankdata_20130909.txt
share/ktoblzcheck/bundesbank.pl