Lines 1-8
Link Here
|
1 |
PORTNAME= sterm |
1 |
PORTNAME= sterm |
2 |
DISTVERSION= 0.9.1 |
2 |
DISTVERSION= 0.9.2 |
3 |
CATEGORIES= x11 |
3 |
CATEGORIES= x11 |
4 |
MASTER_SITES= http://dl.suckless.org/st/ |
4 |
MASTER_SITES= http://dl.suckless.org/st/ |
5 |
DISTNAME= st-${PORTVERSION} |
5 |
DISTNAME= st-${DISTVERSION} |
6 |
|
6 |
|
7 |
MAINTAINER= pkubaj@FreeBSD.org |
7 |
MAINTAINER= pkubaj@FreeBSD.org |
8 |
COMMENT= Simple X terminal |
8 |
COMMENT= Simple X terminal |
Lines 17-39
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
Link Here
|
17 |
USES= pkgconfig xorg |
17 |
USES= pkgconfig xorg |
18 |
USE_XORG= x11 xext xft |
18 |
USE_XORG= x11 xext xft |
19 |
|
19 |
|
20 |
PLIST_FILES= bin/st share/man/man1/st.1.gz |
|
|
21 |
MAKE_ARGS= PREFIX="${PREFIX}" VERSION="${PORTVERSION}" \ |
20 |
MAKE_ARGS= PREFIX="${PREFIX}" VERSION="${PORTVERSION}" \ |
22 |
X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" |
21 |
X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib" |
23 |
|
22 |
|
24 |
# This way we avoid running tic on st.info which does not work as expected. |
23 |
# This way we avoid running tic on st.info which does not work as expected. |
25 |
BINARY_ALIAS= tic=true |
24 |
BINARY_ALIAS= tic=true |
26 |
|
25 |
|
|
|
26 |
PLIST_FILES= bin/st share/man/man1/st.1.gz |
27 |
|
27 |
PORTDATA= config.def.h st.info |
28 |
PORTDATA= config.def.h st.info |
28 |
PORTDOCS= FAQ LEGACY README TODO |
29 |
PORTDOCS= FAQ LEGACY README TODO |
29 |
|
30 |
|
30 |
OPTIONS_DEFINE= DOCS SCROLLBACK XRESOURCES |
31 |
OPTIONS_DEFINE= DOCS SCROLLBACK XRESOURCES |
31 |
SCROLLBACK_DESC= Scroll back through terminal output |
32 |
SCROLLBACK_DESC= Scroll back through terminal output |
32 |
XRESOURCES_DESC= Allow to handle settings from Xresources |
33 |
XRESOURCES_DESC= Allow to handle settings from Xresources |
33 |
|
34 |
|
34 |
SCROLLBACK_PATCH_SITES= https://st.suckless.org/patches/scrollback/ |
35 |
SCROLLBACK_PATCH_SITES= https://st.suckless.org/patches/scrollback/ |
35 |
SCROLLBACK_PATCHFILES= st-scrollback-0.8.5.diff:-p1 \ |
36 |
SCROLLBACK_PATCHFILES= st-scrollback-0.9.2.diff:-p1 \ |
36 |
st-scrollback-mouse-20220127-2c5edf2.diff:-p1 |
37 |
st-scrollback-mouse-0.9.2.diff:-p1 |
37 |
|
38 |
|
38 |
XRESOURCES_PATCH_SITES= https://st.suckless.org/patches/xresources/ |
39 |
XRESOURCES_PATCH_SITES= https://st.suckless.org/patches/xresources/ |
39 |
XRESOURCES_PATCHFILES= st-xresources-20200604-9ba7ecf.diff:-p1 |
40 |
XRESOURCES_PATCHFILES= st-xresources-20200604-9ba7ecf.diff:-p1 |
Lines 47-54
post-patch:
Link Here
|
47 |
@${ECHO_MSG} "creating config.h from ${ST_CONF}" |
48 |
@${ECHO_MSG} "creating config.h from ${ST_CONF}" |
48 |
@${LN} -sf ${ST_CONF} ${WRKSRC}/config.h |
49 |
@${LN} -sf ${ST_CONF} ${WRKSRC}/config.h |
49 |
.endif |
50 |
.endif |
50 |
@${REINPLACE_CMD} -e "s|^CPPFLAGS =|CPPFLAGS +=|" \ |
|
|
51 |
${WRKSRC}/config.mk |
52 |
|
51 |
|
53 |
post-install: |
52 |
post-install: |
54 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/st |
53 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/st |