openbsd-ports/x11/flvw/Makefile
2010-11-22 08:36:47 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2010/11/22 08:36:56 espie Exp $
COMMENT= FLTK Virtual styles, list, table, and complex table Widgets
DISTNAME= flvw-20000224
PKGNAME= flvw-1.0
REVISION= 1
CATEGORIES= x11 devel
HOMEPAGE= http://flvw.sourceforge.net/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flvw/}
EXTRACT_SUFX= .tgz
BUILD_DEPENDS= x11/fltk
RUN_DEPENDS= x11/fltk
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -DFLTK_1_0_COMPAT -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
REGRESS_TARGET= check
REGRESS_IS_INTERACTIVE= x11
WRKDIST= ${WRKDIR}/flvw
WRKSRC= ${WRKDIST}/1.0
do-regress:
@cd ${WRKBUILD}/test && exec ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${REGRESS_FLAGS} -f ${MAKE_FILE} ${REGRESS_TARGET}
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>