1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11/lsw/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
823 B
Makefile

# Created by: Dennis Herrmann <dhn@FreeBSD.org>
# $FreeBSD$
PORTNAME= lsw
PORTVERSION= 0.3
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lists the titles of all running X windows to stdout, similar to ls(1)
MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
X11INC="${LOCALBASE}/include" CC="${CC}"
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_XORG= x11 xt xorgproto xext
post-patch:
@${REINPLACE_CMD} -e 's|-I/usr/include||;s|-L/usr/lib||;s|= -Os|+=|'\
-e 's|-DHAVE_SHADOW_H||' ${WRKSRC}/config.mk
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>