svn commit: r330877 - head/finance/ktoblzcheck

Jason E. Hale jhale at FreeBSD.org
Sat Oct 19 14:39:13 UTC 2013


Author: jhale
Date: Sat Oct 19 14:39:12 2013
New Revision: 330877
URL: http://svnweb.freebsd.org/changeset/ports/330877

Log:
  - Support staging
  - Use options helpers

Modified:
  head/finance/ktoblzcheck/Makefile
  head/finance/ktoblzcheck/pkg-plist   (contents, props changed)

Modified: head/finance/ktoblzcheck/Makefile
==============================================================================
--- head/finance/ktoblzcheck/Makefile	Sat Oct 19 14:37:53 2013	(r330876)
+++ head/finance/ktoblzcheck/Makefile	Sat Oct 19 14:39:12 2013	(r330877)
@@ -11,24 +11,15 @@ COMMENT=	Check bank codes of German bank
 
 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

Modified: head/finance/ktoblzcheck/pkg-plist
==============================================================================
--- head/finance/ktoblzcheck/pkg-plist	Sat Oct 19 14:37:53 2013	(r330876)
+++ head/finance/ktoblzcheck/pkg-plist	Sat Oct 19 14:39:12 2013	(r330877)
@@ -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


More information about the svn-ports-all mailing list