2009-04-30 22:57:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2009/04/30 20:59:15 zafer Exp $
|
2002-09-11 22:47:14 +02:00
|
|
|
#
|
|
|
|
|
2003-07-15 21:46:14 +02:00
|
|
|
DISTNAME= dctc-0.85.4
|
2008-09-06 22:54:31 +02:00
|
|
|
PKGREVISION= 6
|
2002-09-11 22:47:14 +02:00
|
|
|
CATEGORIES= net
|
2009-04-30 22:57:57 +02:00
|
|
|
MASTER_SITES= http://ac2i.homelinux.com/dctc/
|
2002-09-11 22:47:14 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-01-12 12:55:02 +01:00
|
|
|
HOMEPAGE= http://ac2i.homelinux.com/dctc/
|
2002-09-11 22:47:14 +02:00
|
|
|
COMMENT= Direct Connect clone (Direct Connect Text Client)
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2002-09-11 22:47:14 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-manual-db-detect
|
2006-06-06 21:05:29 +02:00
|
|
|
USE_TOOLS+= gmake perl:run pkg-config
|
2006-01-20 23:44:50 +01:00
|
|
|
USE_LIBTOOL= YES
|
2002-09-11 22:47:14 +02:00
|
|
|
|
2002-10-03 13:24:33 +02:00
|
|
|
CPPFLAGS+= -I${BUILDLINK_PREFIX.db4}/include/db4
|
|
|
|
|
2006-01-20 23:44:50 +01:00
|
|
|
SUBST_CLASSES+= inethack
|
|
|
|
SUBST_FILES.inethack= src/dc_manage.c src/dc_manage_master.c
|
|
|
|
SUBST_FILES.inethack+= src/main.c src/main_master.c src/var.h
|
|
|
|
SUBST_SED.inethack+= -e 's,\(G_.*LOCK.*(\)inet_ntoa,\1my_inet_ntoa,g'
|
|
|
|
SUBST_STAGE.inethack= post-patch
|
|
|
|
|
2002-09-11 22:47:14 +02:00
|
|
|
post-configure:
|
2006-02-02 21:53:44 +01:00
|
|
|
@${TOUCH} ${WRKSRC:Q}/stamp-h.in ${WRKSRC:Q}/config.h.in
|
|
|
|
@${TOUCH} ${WRKSRC:Q}/config.status ${WRKSRC:Q}/stamp-h
|
|
|
|
@${ECHO} '#ifndef MSG_NOSIGNAL' >> ${WRKSRC:Q}/config.h
|
|
|
|
@${ECHO} '# define MSG_NOSIGNAL 0' >> ${WRKSRC:Q}/config.h
|
|
|
|
@${ECHO} '#endif' >> ${WRKSRC:Q}/config.h
|
2002-09-11 22:47:14 +02:00
|
|
|
|
2004-04-25 10:35:03 +02:00
|
|
|
.include "../../databases/db4/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2002-09-11 22:47:14 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|