1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/x11/xsel-conrad/Makefile
Andrew Pantyukhin 5dc3970959 Add port x11/xsel-conrad:
XSel is a command-line program for getting and setting the contents of
the X selection. Normally this is only accessible by manually
highlighting information and pasting it with the middle mouse button.

This port is similar to x11/xsel, but with different CLI syntax and
a bit more functionality. It is a lot more popular, too.

WWW: http://www.vergenet.net/~conrad/software/xsel/
Author: Conrad Parker <conrad@vergenet.net>

Based on:	OpenBSD port, Portage package
2007-08-09 16:31:04 +00:00

41 lines
1.0 KiB
Makefile

# Ports collection makefile for: xsel-conrad
# Date created: 9 August 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xsel
PORTVERSION= 0.9.6
CATEGORIES= x11
MASTER_SITES= http://www.vergenet.net/~conrad/software/xsel/download/ \
CENKES
PKGNAMESUFFIX= -conrad
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Access X selection from command line
CONFLICTS= xsel-[0-9]*
USE_XORG= x11 xext xt xproto ice sm
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ChangeLog README
GNU_CONFIGURE= yes
post-patch:
@${REINPLACE_CMD} -e 's|jmp_buf|sigjmp_buf|g' ${WRKSRC}/xsel.c
@${REINPLACE_CMD} -e 's|@X_CFLAGS@|${CFLAGS}|;\
s|@X_LIBS@|${LDFLAGS}|' ${WRKSRC}/Makefile.in
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1x ${MAN1PREFIX}/man/man1/${PORTNAME}.1
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>