summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 12:39:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-31 12:39:10 +0000
commitffd86e3210482d41053bfc18fd20479f37d9093d (patch)
tree7ed26b6199ceb6bc64ef16808720f1543a4be78e /misc
parentFinish conversion to optionsng (diff)
Convert to optionsng
Trim headers
Notes
Notes: svn path=/head/; revision=309729
Diffstat (limited to 'misc')
-rw-r--r--misc/xsw/Makefile11
-rw-r--r--misc/xsw/pkg-descr2
2 files changed, 5 insertions, 8 deletions
diff --git a/misc/xsw/Makefile b/misc/xsw/Makefile
index 2e2e78533c73..782d782351b8 100644
--- a/misc/xsw/Makefile
+++ b/misc/xsw/Makefile
@@ -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}
diff --git a/misc/xsw/pkg-descr b/misc/xsw/pkg-descr
index 4c072182c3fc..4753511958a1 100644
--- a/misc/xsw/pkg-descr
+++ b/misc/xsw/pkg-descr
@@ -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/