freebsd-ports/x11/p5-X11-Xlib/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
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
2018-09-11 18:34:27 +00:00

31 lines
672 B
Makefile

# $FreeBSD$
PORTNAME= X11-Xlib
PORTVERSION= 0.18
PORTREVISION= 2
CATEGORIES= x11 perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= pi@FreeBSD.org
COMMENT= Low-level access to the X11 library
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Devel-CheckLib>=0:devel/p5-Devel-CheckLib \
p5-ExtUtils-Depends>=0:devel/p5-ExtUtils-Depends \
p5-Try-Tiny>=0:lang/p5-Try-Tiny
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_XORG= x11 xcomposite xext xfixes xinerama xorgproto xrender xtst
pre-configure:
cd ${WRKSRC} && ${PERL} Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/X11/Xlib/Xlib.so
.include <bsd.port.mk>