1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/x11-toolkits/diorite/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

45 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= diorite
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= x11-toolkits devel
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility and widget library based on GLib and GTK+ 3
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= valac:lang/vala
GH_ACCOUNT= tiliado
# USES=waf implicity does USES=python:2.7,build but that is not sufficient
# for shebangfix to know the python version
USES= gnome pkgconfig python:2.7,build shebangfix waf xorg
USE_GITHUB= yes
USE_GNOME= gdkpixbuf2 glib20 gtk30
USE_XORG= x11
SHEBANG_FILES= testgen.py
# --noopt is required to prevent a crash in ipcserver.c, as
# the argument of diorite_ipc_server_process_connection_co() gets
# optimized out in diorite_ipc_server_process_connection().
CONFIGURE_ARGS= --noopt --platform=LINUX
MAKE_ARGS= --no-ldconfig
USE_LDCONFIG= yes
.ifdef(WITH_DEBUG)
CONFIGURE_ARGS+=--debug
.else
CONFIGURE_ARGS+=--no-debug
.endif
pre-configure:
@${REINPLACE_CMD} -e '/pkgconfig/ s,$${LIBDIR},${PREFIX}/libdata,' \
${WRKSRC}/wscript
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include <bsd.port.mk>