2013-03-11 07:35:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2013/03/11 11:46:13 espie Exp $
|
2001-03-28 04:59:37 -05:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= drag and drop library
|
2001-03-07 10:43:32 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
DISTNAME= dnd.1.1
|
2010-07-30 02:58:57 -04:00
|
|
|
PKGNAME= libdnd-1.1
|
2012-12-13 11:34:47 -05:00
|
|
|
REVISION= 2
|
2010-07-30 02:58:57 -04:00
|
|
|
|
2006-01-14 06:46:15 -05:00
|
|
|
SHARED_LIBS= Dnd++ 1.0 \
|
2005-12-31 12:29:37 -05:00
|
|
|
Dnd 0.0
|
2001-03-09 09:28:45 -05:00
|
|
|
CATEGORIES= x11 devel
|
2012-10-29 11:19:02 -04:00
|
|
|
USE_X11 = Yes
|
2001-03-07 10:43:32 -05:00
|
|
|
|
2002-04-19 08:40:39 -04:00
|
|
|
# LPGL
|
2001-03-07 10:43:32 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-03-07 10:43:32 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
2005-12-31 12:29:37 -05:00
|
|
|
MAKE_FLAGS= LIBDnd_VERSION=${LIBDnd_VERSION} \
|
|
|
|
LIBDnd++_VERSION=${LIBDnd++_VERSION}
|
2001-03-07 10:43:32 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
WRKDIST= ${WRKDIR}/DND
|
|
|
|
WRKSRC= ${WRKDIST}/DNDlib
|
2001-03-07 10:43:32 -05:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
TEST_IS_INTERACTIVE= x11
|
2001-10-25 18:34:48 -04:00
|
|
|
|
2013-03-11 07:35:43 -04:00
|
|
|
do-test:
|
2001-10-25 18:34:48 -04:00
|
|
|
@cd ${WRKBUILD} && ./dndtest
|
|
|
|
|
2001-03-07 10:43:32 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libdnd
|
2001-03-09 09:28:45 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIST}/DNDdoc/* ${PREFIX}/share/doc/libdnd
|
2001-03-07 10:43:32 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|