openbsd-ports/astro/kstars/Makefile

42 lines
954 B
Makefile

# $OpenBSD: Makefile,v 1.3 2001/10/08 02:12:58 kevlo Exp $
COMMENT= "desktop planetarium"
DISTNAME= kstars-0.6
CATEGORIES= astro
NEED_VERSION= 1.474
HOMEPAGE= http://kstars.sourceforge.net/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM=Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kstars
BUILD_DEPENDS= automake::devel/automake \
uic::x11/qt2-designer
LIB_DEPENDS= kdecore.3.::x11/kde/libs2
MODULES= qt2
MAKE_ENV= ${CONFIGURE_ENV}
# Ensure qt2 will always be at the front
MAKE_FLAGS= CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
USE_X11= Yes
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= ${MODQT_CONFIGURE_ARGS}
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
CONFIGURE_ENV= KDEDIR=${LOCALBASE}
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/admin
.include <bsd.port.mk>