1e474f48e1
"I haven't used any of those ports myself for a long time, so I think it's best you remove me as maintainer."
39 lines
742 B
Makefile
39 lines
742 B
Makefile
# $OpenBSD: Makefile,v 1.20 2012/12/13 16:34:48 naddy Exp $
|
|
|
|
COMMENT= drag and drop library
|
|
|
|
DISTNAME= dnd.1.1
|
|
PKGNAME= libdnd-1.1
|
|
REVISION= 2
|
|
|
|
SHARED_LIBS= Dnd++ 1.0 \
|
|
Dnd 0.0
|
|
CATEGORIES= x11 devel
|
|
USE_X11 = Yes
|
|
|
|
# LPGL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
MAKE_FLAGS= LIBDnd_VERSION=${LIBDnd_VERSION} \
|
|
LIBDnd++_VERSION=${LIBDnd++_VERSION}
|
|
|
|
WRKDIST= ${WRKDIR}/DND
|
|
WRKSRC= ${WRKDIST}/DNDlib
|
|
|
|
REGRESS_IS_INTERACTIVE= x11
|
|
|
|
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>
|