37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2004/07/06 16:28:52 recht Exp $
|
|
#
|
|
|
|
DISTNAME= coconut-0.3.0
|
|
PKGREVISION= 11
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.asahi-net.or.jp/~em7t-hmd/coconut/ \
|
|
${MASTER_SITE_SOURCEFORGE:=coconut-lib/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://sourceforge.net/projects/coconut-lib/
|
|
COMMENT= Objective-C library for Unix-like systems
|
|
|
|
BUILD_DEPENDS+= papaya>=0.1.7:../../devel/papaya
|
|
|
|
USE_BUILDLINK3= YES
|
|
USE_LIBTOOL= YES
|
|
USE_X11= YES
|
|
GNU_CONFIGURE= YES
|
|
CPPFLAGS+= -I${PREFIX}/include/libxml2/libxml -DGL_GLEXT_LEGACY
|
|
MAKE_ENV+= AM_MAKEFLAGS="am__depfiles_maybe="
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && \
|
|
${CP} configure configure.old && \
|
|
${SED} < configure.old > configure \
|
|
's|^\(INCLUDE_DIR_LIST=\).*|\1"${PREFIX}/include ${X11PREFIX}/include"|'
|
|
|
|
.include "../../graphics/gtkglext/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../devel/popt/buildlink3.mk"
|
|
.include "../../net/gnet1/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|