sebastia 38002cf70b @rsadowski pointed out the version we have in ports is old, even it has
a much higher version number than current ones, don't know where that came
from. This updates to the recent version, now using Qt5.

comments and OK rsadowski@
2020-02-03 12:40:23 +00:00

32 lines
793 B
Makefile

# $OpenBSD: Makefile,v 1.12 2020/02/03 12:40:23 sebastia Exp $
COMMENT = small SRCP client to control digital model trains
EPOCH = 0
DISTNAME = dtcltiny-0.4.5
CATEGORIES = misc x11
HOMEPAGE = http://dtcltiny.sourceforge.net/
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dtcltiny/}
MODULES = x11/qt5
WANTLIB += c m pthread ${COMPILER_LIBCXX}
WANTLIB += Qt5Core Qt5Gui Qt5Network Qt5Widgets
COMPILER = base-clang ports-gcc base-gcc
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = LDFLAGS=-L${LOCALBASE}/lib CFLAGS=-I${LOCALBASE}/include \
UIC_PATH=${MODQT_UIC}
CONFIGURE_ARGS = --with-qt-libraries=${MODQT_LIBDIR} \
--with-qt-includes=${MODQT_INCDIR}
.include <bsd.port.mk>