aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xrsi/Makefile
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-03-26 03:14:43 +0800
committereadler <eadler@FreeBSD.org>2013-03-26 03:14:43 +0800
commit829086f391d67260ccc3007dc40423d9941b869e (patch)
treec71927c24616b647a0be8594203b80a737a11e2a /x11/xrsi/Makefile
parent11b654553e6799f28ab93b56abaf6a16d6806ab0 (diff)
downloadfreebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.gz
freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.tar.zst
freebsd-ports-gnome-829086f391d67260ccc3007dc40423d9941b869e.zip
For some of the unmaintained ports in the x11 category convert them to OptionsNG
While here, trim the headers
Diffstat (limited to 'x11/xrsi/Makefile')
-rw-r--r--x11/xrsi/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/xrsi/Makefile b/x11/xrsi/Makefile
index 56637f8d9856..0119704d619c 100644
--- a/x11/xrsi/Makefile
+++ b/x11/xrsi/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xrsi
-# Date created: 2007-03-17
-# Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
-#
+# Created by: Martin Tournoij <carpetsmoker@xs4all.nl>
# $FreeBSD$
-#
PORTNAME= xrsi
PORTVERSION= 0.9
@@ -18,12 +14,14 @@ USE_XORG= x11
PLIST_FILES= bin/xrsi
PORTDOCS= Readme Licence
+.include <bsd.port.options.mk>
+
do-build:
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -lX11 -o ${WRKSRC}/xrsi ${WRKSRC}/xrsi.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xrsi ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Readme ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/Licence ${DOCSDIR}/