aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-31 20:39:10 +0800
committerbapt <bapt@FreeBSD.org>2012-12-31 20:39:10 +0800
commit9910e2d6613cbf32212a8b47160536586d61bbf2 (patch)
tree7ed26b6199ceb6bc64ef16808720f1543a4be78e /misc
parentaeec315ace1093cc372e02f188555300af2df8fa (diff)
downloadfreebsd-ports-gnome-9910e2d6613cbf32212a8b47160536586d61bbf2.tar.gz
freebsd-ports-gnome-9910e2d6613cbf32212a8b47160536586d61bbf2.tar.zst
freebsd-ports-gnome-9910e2d6613cbf32212a8b47160536586d61bbf2.zip
Convert to optionsng
Trim headers
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/