2023-12-20 13:36:37 +01:00
|
|
|
COMMENT= simple X terminal (personalized)
|
|
|
|
|
|
|
|
V= 0.9
|
|
|
|
DISTNAME= st-${V}
|
2023-12-21 21:45:57 +01:00
|
|
|
PKGNAME= st-sdk-${V}
|
2023-12-20 13:36:37 +01:00
|
|
|
|
|
|
|
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 \
|
2024-02-13 21:00:41 +01:00
|
|
|
anysize/st-expected-anysize-0.9.diff \
|
|
|
|
alpha/st-alpha-20220206-0.8.5.diff
|
2024-09-01 21:01:57 +02:00
|
|
|
REVISION= 47
|
2023-12-20 13:36:37 +01:00
|
|
|
|
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= https://st.suckless.org/
|
|
|
|
|
|
|
|
MAINTAINER= Stefan Hagen <sh+ports@codevoid.de>
|
|
|
|
|
|
|
|
# MIT/X Consortium License
|
|
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
|
|
|
|
# uses pledge()
|
2024-02-13 21:00:41 +01:00
|
|
|
WANTLIB= X11 Xft c fontconfig freetype m util harfbuzz
|
2023-12-20 13:36:37 +01:00
|
|
|
|
|
|
|
SITES= https://dl.suckless.org/st/
|
|
|
|
SITES.p= https://st.suckless.org/patches/
|
|
|
|
|
2024-02-13 21:00:41 +01:00
|
|
|
LIB_DEPENDS = devel/harfbuzz,-main
|
|
|
|
|
2023-12-20 13:36:37 +01:00
|
|
|
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
|
|
|
|
|
2024-02-13 21:00:41 +01:00
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC} && patch < ${FILESDIR}/ligatures.diff
|
|
|
|
|
2023-12-20 13:36:37 +01:00
|
|
|
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>
|