2009-09-06 06:46:25 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2009/09/06 10:46:25 ajacoutot Exp $
|
2001-04-02 11:10:25 -04:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= FLTK Virtual Styles, List, Table, and Complex Table Widgets
|
2001-04-02 11:10:25 -04:00
|
|
|
|
|
|
|
DISTNAME= flvw-20000224
|
2005-11-20 07:54:05 -05:00
|
|
|
PKGNAME= flvw-1.0p0
|
2002-11-05 11:17:35 -05:00
|
|
|
CATEGORIES= x11 devel
|
2001-04-02 11:10:25 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://flvw.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
2002-05-15 05:30:21 -04:00
|
|
|
# GPL
|
2001-04-02 11:10:25 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 04:18:19 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flvw/}
|
2001-04-02 11:10:25 -04:00
|
|
|
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-11-20 07:54:05 -05:00
|
|
|
LIB_DEPENDS= ::x11/fltk
|
2001-04-02 11:10:25 -04:00
|
|
|
|
|
|
|
USE_X11= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
2002-08-10 15:58:52 -04:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -DFLTK_1_0_COMPAT -I${LOCALBASE}/include" \
|
2001-04-02 11:10:25 -04:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
|
|
|
2001-10-25 18:34:48 -04:00
|
|
|
REGRESS_TARGET= check
|
2009-09-06 06:46:25 -04:00
|
|
|
REGRESS_IS_INTERACTIVE= x11
|
2001-10-25 18:34:48 -04:00
|
|
|
|
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:
|
2002-08-10 15:58:52 -04:00
|
|
|
@cd ${WRKBUILD}/test && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET}
|
2001-10-25 18:34:48 -04:00
|
|
|
|
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>
|