2001-10-25 18:34:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2001/10/25 22:34:50 wilfried Exp $
|
2001-04-02 11:10:25 -04:00
|
|
|
|
|
|
|
COMMENT= 'FLTK Virtual Styles, List, Table, and Complex Table Widgets'
|
|
|
|
|
|
|
|
DISTNAME= flvw-20000224
|
|
|
|
PKGNAME= flvw-1.0
|
|
|
|
CATEGORIES= devel
|
2001-10-25 18:34:48 -04:00
|
|
|
NEED_VERSION= 1.482
|
2001-04-02 11:10:25 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://flvw.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@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= flvw
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-04-17 15:02:39 -04:00
|
|
|
LIB_DEPENDS= fltk.::x11/fltk
|
2001-04-02 11:10:25 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
|
2001-10-25 18:34:48 -04:00
|
|
|
# This regression test wants an X11 display
|
|
|
|
REGRESS_TARGET= check
|
|
|
|
REGRESS_FLAGS+= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
|
|
|
|
REGRESS_IS_INTERACTIVE= Yes
|
|
|
|
|
2001-04-02 11:10:25 -04:00
|
|
|
WRKDIST= ${WRKDIR}/flvw
|
|
|
|
WRKSRC= ${WRKDIST}/1.0
|
|
|
|
|
2001-10-25 18:34:48 -04:00
|
|
|
do-regress:
|
|
|
|
@cd ${WRKBUILD}/test && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET}
|
|
|
|
|
2001-04-02 11:10:25 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/lib/libflvw.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/include/FL
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/FL/*H ${PREFIX}/include/FL
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|