diff options
author | pi <pi@FreeBSD.org> | 2016-05-16 02:07:11 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-05-16 02:07:11 +0800 |
commit | 9da29d521cbc3bafb5f2d5fbe380531b3428ee47 (patch) | |
tree | 5995d22675b300302f9059e3c0b097ce178453ce /misc/sent | |
parent | 4d52302ddae06796c26fc15a14936e81c88db779 (diff) | |
download | freebsd-ports-gnome-9da29d521cbc3bafb5f2d5fbe380531b3428ee47.tar.gz freebsd-ports-gnome-9da29d521cbc3bafb5f2d5fbe380531b3428ee47.tar.zst freebsd-ports-gnome-9da29d521cbc3bafb5f2d5fbe380531b3428ee47.zip |
New port: misc/sent
Simple plaintext presentation tool.
WWW: http://tools.suckless.org/sent/
PR: 209503
Submitted by: Neel Chauhan <neel@neelc.org>
Diffstat (limited to 'misc/sent')
-rw-r--r-- | misc/sent/Makefile | 31 | ||||
-rw-r--r-- | misc/sent/distinfo | 3 | ||||
-rw-r--r-- | misc/sent/files/patch-config.mk | 19 | ||||
-rw-r--r-- | misc/sent/pkg-descr | 3 |
4 files changed, 56 insertions, 0 deletions
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 <bsd.port.mk> 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/ |