Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 12:39:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309729 - head/misc/xsw
Message-ID:  <201212311239.qBVCdAUX031968@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Dec 31 12:39:10 2012
New Revision: 309729
URL: http://svnweb.freebsd.org/changeset/ports/309729

Log:
  Convert to optionsng
  Trim headers

Modified:
  head/misc/xsw/Makefile
  head/misc/xsw/pkg-descr

Modified: head/misc/xsw/Makefile
==============================================================================
--- head/misc/xsw/Makefile	Mon Dec 31 12:36:46 2012	(r309728)
+++ head/misc/xsw/Makefile	Mon Dec 31 12:39:10 2012	(r309729)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for:	xsw
-# Date created:		17 Mar 2010
-# Whom:			corky1951@comcast.net
-#
+# Created by: corky1951@comcast.net
 # $FreeBSD$
-#
 
 PORTNAME=	xsw
 PORTVERSION=	0.3.5
@@ -41,12 +36,14 @@ DOCS=		AUTHORS \
 		TODO \
 		doc/xsw.vim
 
+.include <bsd.port.options.mk>
+
 do-install:
 	(cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
 		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install)
 	(cd ${WRKSRC}/data && ${SETENV} ${MAKE_ENV} \
 		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install)
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .for f in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}

Modified: head/misc/xsw/pkg-descr
==============================================================================
--- head/misc/xsw/pkg-descr	Mon Dec 31 12:36:46 2012	(r309728)
+++ head/misc/xsw/pkg-descr	Mon Dec 31 12:39:10 2012	(r309729)
@@ -7,4 +7,4 @@ An example xsw file is:
       - "Hello" x:50 y:30 align:center
       + "World!"
 
-WWW:	http://code.google.com/p/xsw/
+WWW: http://code.google.com/p/xsw/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212311239.qBVCdAUX031968>