35 lines
766 B
Makefile
35 lines
766 B
Makefile
# $OpenBSD: Makefile,v 1.24 2021/07/11 07:59:20 ajacoutot Exp $
|
|
|
|
COMMENT= display chm files
|
|
|
|
V= 1.32
|
|
DISTNAME= xchm-$V
|
|
|
|
CATEGORIES= devel textproc x11
|
|
|
|
HOMEPAGE= https://github.com/rzvncj/xCHM
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX}
|
|
WANTLIB += c chm m wx_baseu-3.0 wx_baseu_net-3.0 wx_baseu_xml-3.0
|
|
WANTLIB += wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0 wx_gtk3u_core-3.0
|
|
WANTLIB += wx_gtk3u_html-3.0 wx_gtk3u_qa-3.0 wx_gtk3u_xrc-3.0
|
|
|
|
MASTER_SITES= https://github.com/rzvncj/xCHM/releases/download/$V/
|
|
|
|
LIB_DEPENDS= devel/chmlib \
|
|
x11/wxWidgets>=3.0.4
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils
|
|
|
|
COMPILER= base-clang ports-gcc base-gcc
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|