9c8b5ede43
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2006/03/04 21:30:17 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= dctc-0.85.4
|
|
PKGREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.ac2i.tzo.com/dctc/ \
|
|
http://brainz.servebeer.com/dctc/
|
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
USE_LIBTOOL= YES
|
|
|
|
CPPFLAGS+= -I${BUILDLINK_PREFIX.db4}/include/db4
|
|
|
|
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
|
|
|
|
post-configure:
|
|
@${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
|
|
|
|
.include "../../databases/db4/buildlink3.mk"
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|