summaryrefslogtreecommitdiff
path: root/net/dc_gui2/Makefile
blob: 04823973ed4865b7cf0861a45dab314d253e2043 (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
35
36
37
38
39
# $NetBSD: Makefile,v 1.47 2010/01/18 09:59:19 wiz Exp $
#

DISTNAME=	dc_gui2-0.75
PKGREVISION=	26
CATEGORIES=	net
MASTER_SITES=	http://ac2i.homelinux.com/dctc/ 

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ac2i.homelinux.com/dctc/
COMMENT=	Graphical user interface for DCTC

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=	dctc>=0.85.4:../../net/dctc

GNU_CONFIGURE=		YES
USE_PKGLOCALEDIR=	YES
CONFIGURE_ARGS+=	--enable-manual-db-detect
USE_TOOLS+=		gmake pkg-config msgfmt
USE_LIBTOOL=		YES

UNLIMIT_RESOURCES+=	datasize

CPPFLAGS+=	-I${BUILDLINK_PREFIX.db4}/include/db4
CPPFLAGS+=	-DNO_PRINTF_LOCALE

post-configure:
	@${ECHO} '#ifndef MSG_NOSIGNAL' >> ${WRKSRC}/config.h
	@${ECHO} '# define MSG_NOSIGNAL 0' >> ${WRKSRC}/config.h
	@${ECHO} '#endif' >> ${WRKSRC}/config.h
	@sleep 5
	@${TOUCH} ${WRKSRC}/stamp-h ${WRKSRC}/stamp-h.in

.include "../../converters/libiconv/buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"