openbsd-ports/x11/libdnd/Makefile

42 lines
949 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2006/01/14 11:46:16 espie Exp $
COMMENT= 'drag and drop library'
DISTNAME= dnd.1.1
PKGNAME= libdnd-1.1p1
SHARED_LIBS= Dnd++ 1.0 \
2005-12-31 12:29:37 -05:00
Dnd 0.0
CATEGORIES= x11 devel
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
2002-04-19 08:40:39 -04:00
# LPGL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
EXTRACT_SUFX= .tgz
USE_X11= Yes
CONFIGURE_STYLE= gnu
2005-12-31 12:29:37 -05:00
MAKE_FLAGS= LIBDnd_VERSION=${LIBDnd_VERSION} \
LIBDnd++_VERSION=${LIBDnd++_VERSION}
FAKE_FLAGS= ${DESTDIRNAME}=${WRKINST} ${MAKE_FLAGS}
WRKDIST= ${WRKDIR}/DND
WRKSRC= ${WRKDIST}/DNDlib
2001-10-25 18:34:48 -04:00
# This regression test wants an X11 display
REGRESS_FLAGS+= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE= Yes
do-regress:
@cd ${WRKBUILD} && ./dndtest
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdnd
${INSTALL_DATA} ${WRKDIST}/DNDdoc/* ${PREFIX}/share/doc/libdnd
.include <bsd.port.mk>