openbsd-ports/sysutils/clusterit/Makefile

47 lines
1008 B
Makefile

# $OpenBSD: Makefile,v 1.4 2008/01/04 17:48:37 espie Exp $
COMMENT= suite of clustering tools based on IBM's PSSP
DISTNAME= clusterit-2.4
PKGNAME= ${DISTNAME}p0
CATEGORIES= sysutils
HOMEPAGE= http://www.garbled.net/clusterit.html
MAINTAINER= Will Maier <willmaier@ml1.net>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clusterit/}
CONFIGURE_STYLE= gnu
FLAVORS= no_x11
FLAVOR?=
X11_SUBDIRS= dvt rvt
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS= --without-x11
.else
USE_X11= Yes
WANTLIB+= util X11
MAKE_FLAGS= EXTRA_SUBDIRS="${X11_SUBDIRS}"
.endif
# The port's existing regress structure seems broken; upstream contacted
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clusterit
${INSTALL_DATA} ${WRKSRC}/html/clusterit.html \
${PREFIX}/share/doc/clusterit/
${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/clusterit
.include <bsd.port.mk>