blob: f6188f292b7e327b8e0d95301222e08547a0e860 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.13 2009/04/19 07:11:26 rh Exp $
#
DISTNAME= expatobjc-1.0
PKGREVISION= 5
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expatobjc/}
MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://expatobjc.sourceforge.net/
COMMENT= Objective-C Wrapper for Expat
LICENSE= expatobjc-license
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= objc
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
AUTO_MKDIRS= yes
CONFIGURE_ENV+= objc_works=yes
MAKE_ENV+= INSTALL_DATA=${INSTALL_DATA:Q}
SUBST_CLASSES+= expatobjc
SUBST_STAGE.expatobjc= pre-configure
SUBST_FILES.expatobjc= Makefile.in
SUBST_SED.expatobjc+= -e 's|\$$(INSTALL) -c -m 644|\$${INSTALL_DATA}|'
SUBST_SED.expatobjc+= -e 's|\$$(libdir)|\$${DESTDIR}\$${PREFIX}/lib|'
SUBST_SED.expatobjc+= -e 's|\$$(incdir)|\$${DESTDIR}\$${PREFIX}/include|'
.include "../../textproc/expat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|