openbsd-ports/x11/flvw/Makefile

42 lines
964 B
Makefile
Raw Normal View History

2013-03-11 07:35:43 -04:00
# $OpenBSD: Makefile,v 1.19 2013/03/11 11:46:09 espie Exp $
COMMENT= FLTK Virtual styles, list, table, and complex table Widgets
DISTNAME= flvw-20000224
PKGNAME= flvw-1.0
REVISION= 2
2002-11-05 11:17:35 -05:00
CATEGORIES= x11 devel
HOMEPAGE= http://flvw.sourceforge.net/
# GPL
PERMIT_PACKAGE_CDROM= Yes
2002-05-13 04:18:19 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flvw/}
EXTRACT_SUFX= .tgz
2010-11-22 03:36:47 -05:00
BUILD_DEPENDS= x11/fltk
RUN_DEPENDS= x11/fltk
CONFIGURE_STYLE= gnu
2002-08-10 15:58:52 -04:00
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -DFLTK_1_0_COMPAT -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
2013-03-11 07:35:43 -04:00
TEST_TARGET= check
TEST_IS_INTERACTIVE= x11
2001-10-25 18:34:48 -04:00
WRKDIST= ${WRKDIR}/flvw
WRKSRC= ${WRKDIST}/1.0
2013-03-11 07:35:43 -04:00
do-test:
@cd ${WRKBUILD}/test && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${TEST_FLAGS} -f ${MAKE_FILE} ${TEST_TARGET}
2001-10-25 18:34:48 -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>