1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/x11/tabbed/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

40 lines
944 B
Makefile

# Created by: Winston Weinert <winstonw@lavabit.com>
# $FreeBSD$
PORTNAME= tabbed
PORTVERSION= 0.6
CATEGORIES= x11
MASTER_SITES= http://dl.suckless.org/tools/
MAINTAINER= mp39590@gmail.com
COMMENT= Simple generic tabbed fronted to xembed aware applications
LICENSE= MIT
USES= xorg
USE_XORG= x11
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/tabbed \
man/man1/tabbed.1.gz
PORTDOCS= LICENSE README
pre-everything::
@${ECHO_MSG} "You can build tabbed with your own config.h using the TABBED_CONF knob:"
@${ECHO_MSG} "make TABBED_CONF=/path/to/tabbed/config.h install clean"
post-extract:
.if defined(TABBED_CONF)
@${ECHO_MSG} "creating config.h from ${TABBED_CONF}"
@${CP} ${TABBED_CONF} ${WRKSRC}/config.h
.endif
@${REINPLACE_CMD} 's|-std=c99 -pedantic -Wall -O0|${CFLAGS}|' \
${WRKSRC}/config.mk
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>