diff --git a/misc/Makefile b/misc/Makefile index 207ec33de209..4e027844b972 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -415,6 +415,7 @@ SUBDIR += rubygem-vpim SUBDIR += rump SUBDIR += saaghar + SUBDIR += sent SUBDIR += seq2 SUBDIR += shared-mime-info SUBDIR += shc diff --git a/misc/sent/Makefile b/misc/sent/Makefile new file mode 100644 index 000000000000..a1ae11c2a559 --- /dev/null +++ b/misc/sent/Makefile @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= sent +PORTVERSION= 0.2 +CATEGORIES= misc +MASTER_SITES= http://dl.suckless.org/tools/ + +MAINTAINER= neel@neelc.org +COMMENT= Simple plaintext presentation tool + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libpng.so:graphics/png\ + libfontconfig.so:x11-fonts/fontconfig + +USE_XORG= x11 xft + +ALL_TARGET= ${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} ${EXAMPLESDIR}/example ${EXAMPLESDIR}/nyan.png + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sent ${STAGEDIR}${PREFIX}/bin + +post-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/example ${STAGEDIR}${EXAMPLESDIR}/example + ${INSTALL_DATA} ${WRKSRC}/nyan.png ${STAGEDIR}${EXAMPLESDIR}/nyan.png + +.include diff --git a/misc/sent/distinfo b/misc/sent/distinfo new file mode 100644 index 000000000000..b692513f41c6 --- /dev/null +++ b/misc/sent/distinfo @@ -0,0 +1,3 @@ +SHA256 (sent-0.2.tar.gz) = 53b961f9d92a277a6408df7025b4a6deae6b655a797383c93442290e45391076 +SIZE (sent-0.2.tar.gz) = 13479 +TIMESTAMP = 1463240986 diff --git a/misc/sent/files/patch-config.mk b/misc/sent/files/patch-config.mk new file mode 100644 index 000000000000..65ce951e1472 --- /dev/null +++ b/misc/sent/files/patch-config.mk @@ -0,0 +1,19 @@ +--- config.mk.orig 2015-11-19 18:37:08 UTC ++++ config.mk +@@ -7,12 +7,12 @@ VERSION = 0.2 + PREFIX = /usr/local + MANPREFIX = ${PREFIX}/share/man + +-X11INC = /usr/X11R6/include +-X11LIB = /usr/X11R6/lib ++X11INC = /usr/local/X11R6/include ++X11LIB = /usr/local/X11R6/lib + + # includes and libs +-INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC} +-LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 -lpng ++INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC} ++LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 -lpng + + # flags + CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 diff --git a/misc/sent/pkg-descr b/misc/sent/pkg-descr new file mode 100644 index 000000000000..c0cbb2a6ead8 --- /dev/null +++ b/misc/sent/pkg-descr @@ -0,0 +1,3 @@ +Simple plaintext presentation tool. + +WWW: http://tools.suckless.org/sent/