2012-10-06 14:35:45 +00:00
|
|
|
# Created by: ijliao
|
2001-12-18 06:34:27 +00:00
|
|
|
|
|
|
|
PORTNAME= xclip
|
2017-11-18 21:14:19 +00:00
|
|
|
PORTVERSION= 0.13
|
2001-12-18 06:34:27 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2021-02-10 07:42:50 +00:00
|
|
|
MAINTAINER= eduardo@FreeBSD.org
|
2013-03-29 00:59:45 +00:00
|
|
|
COMMENT= Interface to X selections ("the clipboard") from the command line
|
2001-12-18 06:34:27 +00:00
|
|
|
|
2013-04-30 03:12:14 +00:00
|
|
|
LICENSE= GPLv2
|
2021-01-05 13:42:12 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
USES= autoreconf gmake iconv xorg
|
2013-04-30 03:12:14 +00:00
|
|
|
|
2017-11-18 21:14:19 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= astrand
|
|
|
|
|
2009-11-12 03:05:10 +00:00
|
|
|
USE_XORG= x11 xmu
|
2017-11-18 21:14:19 +00:00
|
|
|
|
2009-02-17 15:20:41 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2014-11-15 20:13:35 +00:00
|
|
|
CONFIGURE_ENV+= ac_cv_header_X11_Xmu_Atoms_h=yes \
|
|
|
|
ac_cv_header_X11_Intrinsic_h=yes \
|
|
|
|
ac_cv_lib_Xmu_XmuClientWindow=yes
|
2001-12-18 06:34:27 +00:00
|
|
|
|
2014-11-15 20:13:35 +00:00
|
|
|
PLIST_FILES= bin/xclip bin/xclip-copyfile bin/xclip-cutfile \
|
|
|
|
bin/xclip-pastefile \
|
|
|
|
man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz
|
2009-11-12 03:05:10 +00:00
|
|
|
|
2021-01-05 13:42:12 +00:00
|
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
do-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2014-11-15 20:13:35 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xclip
|
2012-09-01 18:37:38 +00:00
|
|
|
|
2001-12-18 06:34:27 +00:00
|
|
|
.include <bsd.port.mk>
|