mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
0fae2e9e0e
Change x11/xorgproto to become a build time dependency when added to USE_XORG. Change the dependency to be on the port, rather than a file the port installs. Fix fallout. Bump portrevision on depending ports. PR: 230909 Reviewed by: eadler Approved by: portmgr (antoine) Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto exp-run: antoine Differential Revision: https://reviews.freebsd.org/D16906
39 lines
944 B
Makefile
39 lines
944 B
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xsel
|
|
PORTVERSION= 0.04.1
|
|
PORTREVISION= 7
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://BSDforge.com/projects/source/x11/xsel/
|
|
|
|
MAINTAINER= portmaster@BSDforge.com
|
|
COMMENT= Access X11 selection buffer from command line
|
|
|
|
LICENSE= MIT
|
|
|
|
CONFLICTS_INSTALL= xsel-conrad-[0-9]*
|
|
|
|
USES= tar:bzip2
|
|
USE_XORG= xmu xaw xt xorgproto xkbfile
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw -lX11 -lXmu
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/xsel.1.gz
|
|
PORTDOCS= ${PORTNAME}.html
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} xsel.c -o xsel ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|