aboutsummaryrefslogtreecommitdiff
path: root/sysutils/torsmo
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 20:01:07 +0000
commit27d44119e7e106f32a4b4b25539a57a35cc68823 (patch)
tree8462df47de7a523e2debd710ebc0516911e33a43 /sysutils/torsmo
parentf3184698839707db08f51b1529956b01b49932cf (diff)
downloadports-27d44119e7e106f32a4b4b25539a57a35cc68823.tar.gz
ports-27d44119e7e106f32a4b4b25539a57a35cc68823.zip
Notes
Diffstat (limited to 'sysutils/torsmo')
-rw-r--r--sysutils/torsmo/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/sysutils/torsmo/Makefile b/sysutils/torsmo/Makefile
index 44c0dcce570e..e8b43ff0fd48 100644
--- a/sysutils/torsmo/Makefile
+++ b/sysutils/torsmo/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: torsmo
-# Date created: 2004-07-29
-# Whom: Roman Bogorodskiy <bogorodskiy@inbox.ru>
-#
+# Created by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
# $FreeBSD$
-#
PORTNAME= torsmo
PORTVERSION= 0.18
@@ -24,26 +20,27 @@ PLIST_FILES= bin/torsmo \
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= AUTHORS ChangeLog NEWS README
-OPTIONS= XFT "XFT support" on \
- DOUBLE_BUFFER "Flicker-free operation support" on
+OPTIONS_DEFINE= XFT DOUBLE_BUFFER DOCS
+OPTIONS_DEFAULT= XFT DOUBLE_BUFFER
+DOUBLE_BUFFER_DESC= Flicker-free operation support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_XFT)
+.if ${PORT_OPTIONS:MXFT}
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFIGURE_ARGS+= --enable-xft
.endif
-.if defined(WITHOUT_DOUBLE_BUFFER)
+.if ! ${PORT_OPTIONS:MDOUBLE_BUFFER}
CONFIGURE_ARGS+= --disable-double-buffer
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/torsmorc.sample ${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>