View | Details | Raw Unified | Return to bug 212041 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +7 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	sterm
4
PORTNAME=	sterm
5
PORTVERSION=	0.6
5
PORTVERSION=	0.7
6
CATEGORIES=	x11
6
CATEGORIES=	x11
7
MASTER_SITES=	http://dl.suckless.org/st/
7
MASTER_SITES=	http://dl.suckless.org/st/
8
DISTNAME=	st-${PORTVERSION}
8
DISTNAME=	st-${PORTVERSION}
Lines 18-34 Link Here
18
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
18
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
19
		libfreetype.so:print/freetype2
19
		libfreetype.so:print/freetype2
20
20
21
USES=		pkgconfig ncurses:port
21
USES=		pkgconfig
22
USE_XORG=	x11 xext xft
22
USE_XORG=	x11 xext xft
23
23
24
PLIST_FILES=	bin/st man/man1/st.1.gz
24
PLIST_FILES=	bin/st man/man1/st.1.gz %%DATADIR%%/st.info
25
25
26
PORTDOCS=	README
26
PORTDOCS=	README
27
27
28
OPTIONS_DEFINE=	DOCS
28
OPTIONS_DEFINE=	DOCS
29
29
30
.include <bsd.port.options.mk>
31
32
pre-everything::
30
pre-everything::
33
	@${ECHO_MSG} "You can build st with your own config.h using the ST_CONF knob:"
31
	@${ECHO_MSG} "You can build st with your own config.h using the ST_CONF knob:"
34
	@${ECHO_MSG} "make ST_CONF=/path/to/st/config.h install clean"
32
	@${ECHO_MSG} "make ST_CONF=/path/to/st/config.h install clean"
Lines 48-53 Link Here
48
46
49
post-install:
47
post-install:
50
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/st
48
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/st
49
	@${MKDIR} ${STAGEDIR}${DATADIR}
50
	${INSTALL_DATA} ${WRKSRC}/st.info ${STAGEDIR}${DATADIR}
51
52
post-install-DOCS-on:
51
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
53
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
52
.for doc in ${PORTDOCS}
54
.for doc in ${PORTDOCS}
53
	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
55
	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (st-0.6.tar.gz) = 85310c08c3814e099b5e45888f8ac7548640e69e9973e934d4fba38b03737a2b
1
TIMESTAMP = 1471840973
2
SIZE (st-0.6.tar.gz) = 40271
2
SHA256 (st-0.7.tar.gz) = f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000
3
SIZE (st-0.7.tar.gz) = 42418
(-)files/patch-Makefile (-3 / +3 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	2013-04-20 15:29:39.000000000 +0200
1
--- Makefile.orig	2016-08-11 14:25:58 UTC
2
+++ Makefile	2014-02-24 10:49:11.418450591 +0100
2
+++ Makefile
3
@@ -49,7 +49,6 @@
3
@@ -49,7 +49,6 @@ install: all
4
 	@sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
4
 	@sed "s/VERSION/${VERSION}/g" < st.1 > ${DESTDIR}${MANPREFIX}/man1/st.1
5
 	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
5
 	@chmod 644 ${DESTDIR}${MANPREFIX}/man1/st.1
6
 	@echo Please see the README file regarding the terminfo entry of st.
6
 	@echo Please see the README file regarding the terminfo entry of st.
(-)pkg-descr (-1 / +1 lines)
Lines 3-6 Link Here
3
It consists of a single binary, configuration is done at compile-time by a
3
It consists of a single binary, configuration is done at compile-time by a
4
config.h file.
4
config.h file.
5
5
6
WWW: http://st.suckless.org
6
WWW: http://st.suckless.org/

Return to bug 212041