1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

35 lines
747 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= xclip
PORTVERSION= 0.13
CATEGORIES= x11
MAINTAINER= ports@FreeBSD.org
COMMENT= Interface to X selections ("the clipboard") from the command line
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= astrand
USES= autoreconf gmake iconv xorg
USE_XORG= x11 xmu
GNU_CONFIGURE= yes
CONFIGURE_ENV+= ac_cv_header_X11_Xmu_Atoms_h=yes \
ac_cv_header_X11_Intrinsic_h=yes \
ac_cv_lib_Xmu_XmuClientWindow=yes
PLIST_FILES= bin/xclip bin/xclip-copyfile bin/xclip-cutfile \
bin/xclip-pastefile \
man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz
post-patch:
${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' ${WRKSRC}/xclip-copyfile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xclip
.include <bsd.port.mk>