diff options
author | eadler <eadler@FreeBSD.org> | 2013-03-26 03:14:43 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-03-26 03:14:43 +0800 |
commit | 829086f391d67260ccc3007dc40423d9941b869e (patch) | |
tree | c71927c24616b647a0be8594203b80a737a11e2a /x11/xsel | |
parent | 11b654553e6799f28ab93b56abaf6a16d6806ab0 (diff) | |
download | freebsd-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/xsel')
-rw-r--r-- | x11/xsel/Makefile | 10 |
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 |