51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
COMMENT= simple X terminal (personalized)
|
|
|
|
V= 0.9
|
|
DISTNAME= st-${V}
|
|
PKGNAME= st-sdk-${V}
|
|
|
|
DIST_SUBDIR= st
|
|
SUPDISTFILES.p= scrollback/st-scrollback-0.8.5.diff \
|
|
boxdraw/st-boxdraw_v2-0.8.5.diff \
|
|
charoffsets/st-charoffsets-20220311-0.8.5.diff \
|
|
sync/st-appsync-20200618-b27a383.diff \
|
|
disable_bold_italic_fonts/st-disable-bold-italic-fonts-0.8.2.diff \
|
|
glyph_wide_support/st-glyph-wide-support-boxdraw-20220411-ef05519.diff \
|
|
anysize/st-expected-anysize-0.9.diff
|
|
REVISION= 2
|
|
|
|
CATEGORIES= x11
|
|
|
|
HOMEPAGE= https://st.suckless.org/
|
|
|
|
MAINTAINER= Stefan Hagen <sh+ports@codevoid.de>
|
|
|
|
# MIT/X Consortium License
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
# uses pledge()
|
|
WANTLIB= X11 Xft c fontconfig freetype m util
|
|
|
|
SITES= https://dl.suckless.org/st/
|
|
SITES.p= https://st.suckless.org/patches/
|
|
|
|
MAKE_ENV= LDFLAGS="${LDFLAGS}" \
|
|
X11INC=${X11BASE}/include \
|
|
X11LIB=${X11BASE}/lib
|
|
|
|
NO_TEST= Yes
|
|
|
|
PATCHFILES.p= ${SUPDISTFILES.p}
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
post-extract:
|
|
cp ${FILESDIR}/config.h ${WRKSRC}/config.h
|
|
|
|
do-install:
|
|
${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>
|