openbsd-ports/x11/st/Makefile

35 lines
728 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.22 2020/06/29 14:36:10 mestre Exp $
2011-09-23 15:11:41 -04:00
COMMENT= simple X terminal
V= 0.8.4
DISTNAME= st-${V}
CATEGORIES= x11
HOMEPAGE= https://st.suckless.org/
MAINTAINER= Joerg Jung <jung@openbsd.org>
2012-11-08 15:27:54 -05:00
# MIT/X Consortium License
PERMIT_PACKAGE= Yes
# uses pledge()
2018-03-29 17:09:09 -04:00
WANTLIB= X11 Xft c fontconfig freetype m util z
MASTER_SITES= https://dl.suckless.org/st/
MAKE_ENV= LDFLAGS="${LDFLAGS}" \
X11INC=${X11BASE}/include \
X11LIB=${X11BASE}/lib
2013-03-11 07:35:43 -04:00
NO_TEST= Yes
do-install:
2018-03-29 17:09:09 -04:00
${INSTALL_PROGRAM} ${WRKBUILD}/st ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/st.1 ${PREFIX}/man/man1/
sed -i s/VERSION/${V}/g ${PREFIX}/man/man1/st.1
tic -s -x -o ${PREFIX}/share/terminfo ${WRKSRC}/st.info
.include <bsd.port.mk>