2003-01-13 17:33:04 +00:00
|
|
|
# Ports collection makefile for: xsel
|
|
|
|
# Date created: Jan 14, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xsel
|
|
|
|
PORTVERSION= 0.04.1
|
2009-01-23 16:28:36 +00:00
|
|
|
PORTREVISION= 5
|
2003-01-13 17:33:04 +00:00
|
|
|
CATEGORIES= x11
|
2007-08-09 16:26:05 +00:00
|
|
|
MASTER_SITES= CENKES
|
|
|
|
#http://www.niksula.cs.hut.fi/~vherva/xsel/xsel.{c,man}
|
2003-01-13 17:33:04 +00:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= Access X selection from command line
|
2003-01-13 17:33:04 +00:00
|
|
|
|
2007-08-09 16:26:05 +00:00
|
|
|
CONFLICTS= xsel-conrad-[0-9]*
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_XORG= xmu xaw xt xproto xkbfile
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib -lXt -lXaw
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDOCS= ${PORTNAME}.html
|
2003-01-13 17:33:04 +00:00
|
|
|
|
|
|
|
do-build:
|
2007-08-09 16:26:05 +00:00
|
|
|
@cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS}
|
2003-01-13 17:33:04 +00:00
|
|
|
|
|
|
|
do-install:
|
2007-08-09 16:26:05 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MAN1PREFIX}/man/man1/${PORTNAME}.1
|
|
|
|
.ifndef NOPORTDOCS
|
|
|
|
@${INSTALL} -d ${DOCSDIR}/
|
|
|
|
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
|
|
|
.endif
|
2003-01-13 17:33:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|