pkgsrc/net/dctc/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

29 lines
868 B
Makefile

# $NetBSD: Makefile,v 1.27 2005/07/16 01:19:15 jlam 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
CONFIGURE_ARGS+= --enable-manual-db-detect
USE_TOOLS+= gmake perl:run
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"