51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.45 2021/01/24 18:14:33 ajacoutot Exp $
|
|
|
|
COMMENT= GTK+-based electronic waveform viewer
|
|
|
|
DISTNAME= gtkwave-3.3.108
|
|
CATEGORIES= cad
|
|
|
|
HOMEPAGE= http://gtkwave.sourceforge.net/
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
|
|
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 bz2 c cairo
|
|
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
|
|
WANTLIB += glib-2.0 gobject-2.0 gtk-x11-2.0 intl lzma m pango-1.0
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pthread z harfbuzz
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gtkwave/}
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
|
|
|
BUILD_DEPENDS= devel/gperf
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
misc/shared-mime-info \
|
|
x11/gtk+3,-guic
|
|
|
|
LIB_DEPENDS= archivers/bzip2 \
|
|
archivers/xz \
|
|
x11/gtk+2
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --disable-tcl \
|
|
--disable-mime-update \
|
|
--enable-fatlines
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
FAKE_FLAGS= pkgdatadir="${PREFIX}/share/doc/gtkwave/" \
|
|
examplesdir="${PREFIX}/share/examples/gtkwave/"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
|
mv ${PREFIX}/share/icons/*png ${PREFIX}/share/pixmaps/
|
|
|
|
.include <bsd.port.mk>
|