svn commit: r309729 - head/misc/xsw

Baptiste Daroussin bapt at FreeBSD.org
Mon Dec 31 12:39:11 UTC 2012


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 at comcast.net
-#
+# Created by: corky1951 at 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/


More information about the svn-ports-all mailing list