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

Collapse All | Expand All

(-)Makefile (-11 / +25 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	sent
3
PORTNAME=	sent
4
PORTVERSION=	0.2
4
PORTVERSION=	1
5
CATEGORIES=	misc
5
CATEGORIES=	misc
6
MASTER_SITES=	http://dl.suckless.org/tools/
6
MASTER_SITES=	http://dl.suckless.org/tools/
7
7
Lines 8-29 Link Here
8
MAINTAINER=	neel@neelc.org
8
MAINTAINER=	neel@neelc.org
9
COMMENT=	Simple plaintext presentation tool
9
COMMENT=	Simple plaintext presentation tool
10
10
11
LICENSE=	MIT
11
LICENSE=	ISCL
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
13
14
LIB_DEPENDS=	libpng.so:graphics/png\
14
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig
15
		libfontconfig.so:x11-fonts/fontconfig
15
RUN_DEPENDS=	2ff:graphics/farbfeld
16
16
17
USE_XORG=	x11 xft
17
USE_XORG=	x11 xft
18
18
19
ALL_TARGET=	${PORTNAME}
19
MAKE_ARGS=	CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \
20
		X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib"
21
NO_WRKSUBDIR=	yes
20
22
21
PLIST_FILES=	bin/${PORTNAME} ${EXAMPLESDIR}/example ${EXAMPLESDIR}/nyan.png
23
PLIST_FILES=	bin/sent \
24
		man/man1/sent.1.gz
25
PORTDOCS=	README.md
26
PORTEXAMPLES=	example \
27
		nyan.png \
28
		transparent_test.ff
22
29
23
do-install:
30
OPTIONS_DEFINE=	DOCS EXAMPLES
24
	${INSTALL_PROGRAM} ${WRKSRC}/sent ${STAGEDIR}${PREFIX}/bin
25
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
26
	${INSTALL_DATA} ${WRKSRC}/example ${STAGEDIR}${EXAMPLESDIR}/example
27
	${INSTALL_DATA} ${WRKSRC}/nyan.png ${STAGEDIR}${EXAMPLESDIR}/nyan.png
28
31
32
post-install:
33
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sent
34
35
post-install-DOCS-on:
36
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
37
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
38
39
post-install-EXAMPLES-on:
40
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
41
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
42
29
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
SHA256 (sent-0.2.tar.gz) = 53b961f9d92a277a6408df7025b4a6deae6b655a797383c93442290e45391076
1
TIMESTAMP = 1517451687
2
SIZE (sent-0.2.tar.gz) = 13479
2
SHA256 (sent-1.tar.gz) = 7bf3de9311ce291ff36adf5315b78fa72373e3ab80ca71387fb5884bcbd7be33
3
TIMESTAMP = 1463240986
3
SIZE (sent-1.tar.gz) = 15285
(-)files/patch-config.mk (-14 / +8 lines)
Lines 1-19 Link Here
1
--- config.mk.orig	2015-11-19 18:37:08 UTC
1
--- config.mk.orig	2018-02-01 17:23:54 UTC
2
+++ config.mk
2
+++ config.mk
3
@@ -7,12 +7,12 @@ VERSION = 0.2
3
@@ -16,8 +16,8 @@ LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconf
4
 PREFIX = /usr/local
4
 # OpenBSD (uncomment)
5
 MANPREFIX = ${PREFIX}/share/man
5
 #INCS = -I. -I${X11INC} -I${X11INC}/freetype2
6
 
6
 # FreeBSD (uncomment)
7
-X11INC = /usr/X11R6/include
7
-#INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC}
8
-X11LIB = /usr/X11R6/lib
8
-#LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
9
+X11INC = /usr/local/X11R6/include
10
+X11LIB = /usr/local/X11R6/lib
11
 
12
 # includes and libs
13
-INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC}
14
-LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 -lpng
15
+INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC}
9
+INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC}
16
+LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 -lpng
10
+LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11
17
 
11
 
18
 # flags
12
 # flags
19
 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600
13
 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600

Return to bug 225607