aboutsummaryrefslogtreecommitdiff
path: root/x11/xsel
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-25 19:14:43 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-25 19:14:43 +0000
commit198f9722180148687ba7f1b3368727a3b88dd330 (patch)
treec71927c24616b647a0be8594203b80a737a11e2a /x11/xsel
parent0ed61ead3cd56f04795d1fa76c391e3135aee722 (diff)
downloadports-198f9722180148687ba7f1b3368727a3b88dd330.tar.gz
ports-198f9722180148687ba7f1b3368727a3b88dd330.zip
For some of the unmaintained ports in the x11 category convert them to OptionsNG
While here, trim the headers
Notes
Notes: svn path=/head/; revision=315242
Diffstat (limited to 'x11/xsel')
-rw-r--r--x11/xsel/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/xsel/Makefile b/x11/xsel/Makefile
index 84f78e01ff55..2d384fa2aa29 100644
--- a/x11/xsel/Makefile
+++ b/x11/xsel/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: xsel
-# Date created: Jan 14, 2003
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= xsel
PORTVERSION= 0.04.1
@@ -24,13 +20,15 @@ MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ${PORTNAME}.html
+.include <bsd.port.options.mk>
+
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MAN1PREFIX}/man/man1/${PORTNAME}.1
-.ifndef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif