pkgsrc/net/dctc/Makefile

32 lines
921 B
Makefile

# $NetBSD: Makefile,v 1.23 2004/11/28 07:31:12 taca Exp $
#
DISTNAME= dctc-0.85.4
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.ac2i.tzo.com/dctc/ \
http://brainz.servebeer.com/dctc/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.ac2i.tzo.com/dctc/
COMMENT= Direct Connect clone (Direct Connect Text Client)
GNU_CONFIGURE= YES
USE_BUILDLINK3= YES
CONFIGURE_ARGS+= --enable-manual-db-detect
USE_PERL5= YES
USE_GNU_TOOLS+= make
RUBY_DIST_SUBDIR= # empty
CPPFLAGS+= -I${BUILDLINK_PREFIX.db4}/include/db4
post-configure:
@${TOUCH} ${WRKSRC}/stamp-h.in ${WRKSRC}/config.h.in
@${TOUCH} ${WRKSRC}/config.status ${WRKSRC}/stamp-h
@${ECHO} '#ifndef MSG_NOSIGNAL' >> ${WRKSRC}/config.h
@${ECHO} '# define MSG_NOSIGNAL 0' >> ${WRKSRC}/config.h
@${ECHO} '#endif' >> ${WRKSRC}/config.h
.include "../../databases/db4/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"