1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/misc/sent/Makefile
Niclas Zeising 82f108df30 Add USES=xorg USES=gl, ports categories m
Add USES=xorg and USES=gl to ports in categories starting with 'm'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:07:22 +00:00

45 lines
992 B
Makefile

# $FreeBSD$
PORTNAME= sent
PORTVERSION= 1
CATEGORIES= misc
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= neel@neelc.org
COMMENT= Simple plaintext presentation tool
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig
RUN_DEPENDS= 2ff:graphics/farbfeld
USES= xorg
USE_XORG= x11 xft
MAKE_ARGS= CC="${CC}" PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}/man" \
X11INC="${LOCALBASE}/include" X11LIB="${LOCALBASE}/lib"
NO_WRKSUBDIR= yes
PLIST_FILES= bin/sent \
man/man1/sent.1.gz
PORTDOCS= README.md
PORTEXAMPLES= example \
nyan.png \
transparent_test.ff
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sent
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>