svn commit: r347988 - head/deskutils/kupfer

Rusmir Dusko nemysis at FreeBSD.org
Wed Mar 12 16:44:53 UTC 2014


Author: nemysis
Date: Wed Mar 12 16:44:52 2014
New Revision: 347988
URL: http://svnweb.freebsd.org/changeset/ports/347988
QAT: https://qat.redports.org/buildarchive/r347988/

Log:
  - Add DOCS Option
  - Break lines around 80 characters

Modified:
  head/deskutils/kupfer/Makefile

Modified: head/deskutils/kupfer/Makefile
==============================================================================
--- head/deskutils/kupfer/Makefile	Wed Mar 12 16:32:55 2014	(r347987)
+++ head/deskutils/kupfer/Makefile	Wed Mar 12 16:44:52 2014	(r347988)
@@ -39,7 +39,7 @@ DOCSRCDIR2=	${WRKSRC}/Documentation
 DOCSDIR2=	${DOCSDIR}/Documentation
 DOC_FILES2=	Contributing.rst GTKTheming.rst PluginAPI.rst VersionHistory.rst
 
-OPTIONS_DEFINE=	NLS NAUTILUS RHYTHMBOX
+OPTIONS_DEFINE=	DOCS NAUTILUS NLS RHYTHMBOX
 
 OPTIONS_SUB=	yes
 
@@ -55,8 +55,8 @@ RHYTHMBOX_RUN_DEPENDS=	rhythmbox:${PORTS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|--quiet||' ${WRKSRC}/bin/kupfer.in
-	@${REINPLACE_CMD} -e 's|locale.bindtextdomain|gettext.bindtextdomain|' \
-		-e 's|locale.bind_textdomain_codeset|gettext.bind_textdomain_codeset|' \
+	@${REINPLACE_CMD} -e 's|locale.bindtextdomain|gettext.bindtextdomain|; \
+		s|locale.bind_textdomain_codeset|gettext.bind_textdomain_codeset|' \
 		${WRKSRC}/kupfer/main.py
 
 .if ! ${PORT_OPTIONS:MNLS}
@@ -64,7 +64,8 @@ post-patch:
 .endif
 
 do-configure:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf configure --prefix=${STAGEDIR}${PREFIX} --mandir=${STAGEDIR}${PREFIX}/man
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf configure \
+		--prefix=${STAGEDIR}${PREFIX} --mandir=${STAGEDIR}${PREFIX}/man
 
 do-build:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build


More information about the svn-ports-head mailing list