40 lines
873 B
Makefile
40 lines
873 B
Makefile
# $OpenBSD: Makefile,v 1.18 2019/07/12 20:51:23 sthen Exp $
|
|
|
|
COMMENT= lightweight GTK2-based systray
|
|
|
|
V= 1.1.8
|
|
GH_TAGNAME= trayer-${V}
|
|
GH_PROJECT= trayer-srg
|
|
GH_ACCOUNT= sargon
|
|
DISTNAME= trayer-${V}
|
|
|
|
CATEGORIES= x11
|
|
|
|
# BSD-like
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
|
|
WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
|
|
WANTLIB += gtk-x11-2.0 intl pango-1.0 pangocairo-1.0 pangoft2-1.0
|
|
WANTLIB += z
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
BUILD_DEPENDS= shells/bash
|
|
|
|
LIB_DEPENDS= x11/gtk+2
|
|
|
|
CONFIGURE_STYLE= simple
|
|
CONFIGURE_ARGS= --prefix=${TRUEPREFIX}
|
|
|
|
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
NO_TEST= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/trayer ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/trayer.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|