svn commit: r383893 - head/x11/xsel
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Apr 13 04:11:04 UTC 2015
Author: danfe
Date: Mon Apr 13 04:11:02 2015
New Revision: 383893
URL: https://svnweb.freebsd.org/changeset/ports/383893
Log:
- Provide new mastersite (CENKES is no more) and unbreak
- Define LICENSE (MIT), augment COMMENT, fix the header
- Add missing OPTIONS_DEFINE, replace ${INSTALL} -d with
${MKDIR}, perform few other minor Makefile cleanups
- Remove defunct WWW from port description
- Transfer maintainership to the submitter
PR: 199326
Submitted by: Chris Hutchinson
Modified:
head/x11/xsel/Makefile
head/x11/xsel/pkg-descr
Modified: head/x11/xsel/Makefile
==============================================================================
--- head/x11/xsel/Makefile Mon Apr 13 03:42:49 2015 (r383892)
+++ head/x11/xsel/Makefile Mon Apr 13 04:11:02 2015 (r383893)
@@ -1,33 +1,38 @@
-# Created by: ijliao
+# Created by: Ying-Chieh Liao <ijliao at FreeBSD.org>
# $FreeBSD$
PORTNAME= xsel
PORTVERSION= 0.04.1
PORTREVISION= 5
CATEGORIES= x11
-MASTER_SITES= CENKES
-#http://www.niksula.cs.hut.fi/~vherva/xsel/xsel.{c,man}
+MASTER_SITES= http://BSDforge.com/projects/source/x11/xsel/
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Access X selection from command line
+MAINTAINER= portmaster at BSDforge.com
+COMMENT= Access X11 selection buffer from command line
-BROKEN= No public distfiles
+LICENSE= MIT
-CONFLICTS= xsel-conrad-[0-9]*
-USES= tar:bzip2
+CONFLICTS_INSTALL= xsel-conrad-[0-9]*
+
+USES= tar:bzip2
USE_XORG= xmu xaw xt xproto xkbfile
+
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw -lX11 -lXmu
+
PLIST_FILES= bin/${PORTNAME} man/man1/xsel.1.gz
PORTDOCS= ${PORTNAME}.html
+OPTIONS_DEFINE= DOCS
+
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
- ${INSTALL} -d ${STAGEDIR}${DOCSDIR}/
- cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/x11/xsel/pkg-descr
==============================================================================
--- head/x11/xsel/pkg-descr Mon Apr 13 03:42:49 2015 (r383892)
+++ head/x11/xsel/pkg-descr Mon Apr 13 04:11:02 2015 (r383893)
@@ -1,5 +1,3 @@
xsel is a quick hack to give access to the X selection from the command line.
You can paste stuff from the X selection to stdout and copy stuff from stdin
to X selection.
-
-WWW: http://www.niksula.cs.hut.fi/~vherva/xsel/
More information about the svn-ports-all
mailing list