1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Roll a proper distfile

- Remove unneeded dependency on GTK
- Clean up
- Conflict with upcoming xsel-conrad
- Bump portrevision
This commit is contained in:
Andrew Pantyukhin 2007-08-09 16:26:05 +00:00
parent 643e6833ff
commit 175112bc57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197385
3 changed files with 22 additions and 24 deletions

View File

@ -1,4 +1,3 @@
# ex:ts=8
# Ports collection makefile for: xsel
# Date created: Jan 14, 2003
# Whom: ijliao
@ -8,31 +7,32 @@
PORTNAME= xsel
PORTVERSION= 0.04.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= http://www.niksula.cs.hut.fi/~vherva/xsel/
DISTFILES= xsel.c xsel.man
MASTER_SITES= CENKES
#http://www.niksula.cs.hut.fi/~vherva/xsel/xsel.{c,man}
MAINTAINER= ports@FreeBSD.org
COMMENT= Access X selection from command line
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
USE_XLIB= yes
USE_GNOME= gtk12
NO_WRKSUBDIR= yes
CFLAGS+= `${GTK_CONFIG} --cflags`
LDFLAGS+= `${GTK_CONFIG} --libs` -lXt -lXaw
MAN1= xsel.1
PLIST_FILES= bin/xsel
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
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS})
@cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xsel ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xsel.man ${MAN1PREFIX}/man/man1/xsel.1
@${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
.include <bsd.port.mk>

View File

@ -1,6 +1,3 @@
MD5 (xsel.c) = 8d655ed634d3649cd6b7052a4e28ff9b
SHA256 (xsel.c) = 599ef12c7b656b6101b41ffc986edfecf7e4d7ceced9aeddb0306c99d0506b79
SIZE (xsel.c) = 12082
MD5 (xsel.man) = 976e843b4900e626dd7d966e6723b543
SHA256 (xsel.man) = d906949f60376cdd783dda6f9bc27a6424be0d30f33cde33ad58d646eccd9de7
SIZE (xsel.man) = 3795
MD5 (xsel-0.04.1.tar.bz2) = 79ad31d3fb18583fe51d64f096bc90cc
SHA256 (xsel-0.04.1.tar.bz2) = c4e13c45e60263c4c749710bd59314b887ef8ed87f505ed0fcd5256d560a0b53
SIZE (xsel-0.04.1.tar.bz2) = 7335

View File

@ -3,3 +3,4 @@ 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/
Author: Ville Herva <v@iki.fi>