2010-01-17 13:02:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2010/01/17 12:02:32 wiz Exp $
|
2004-10-09 22:47:21 +02:00
|
|
|
|
2004-12-02 13:27:08 +01:00
|
|
|
DISTNAME= gnugk-2.2.0
|
2010-01-17 13:02:03 +01:00
|
|
|
PKGREVISION= 4
|
2004-12-02 13:27:08 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openh323gk/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
2004-10-09 22:47:21 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-12-02 13:27:08 +01:00
|
|
|
HOMEPAGE= http://www.gnugk.org/
|
|
|
|
COMMENT= H.323 Gatekeeper
|
2004-10-09 22:47:21 +02:00
|
|
|
|
2006-07-22 06:46:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2006-06-08 21:50:22 +02:00
|
|
|
USE_LIBTOOL= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
USE_TOOLS+= gmake
|
2004-12-02 13:27:08 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_PTLIB_CONFIG=${PREFIX}/bin/ptlib-config
|
|
|
|
CONFIGURE_ENV+= PWLIBDIR=${PREFIX}/share/pwlib
|
|
|
|
CONFIGURE_ENV+= OPENH323DIR=${PREFIX}/share/openh323
|
|
|
|
|
|
|
|
CFLAGS+= -fexceptions
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= LIBTOOL=${LIBTOOL:Q} SYSLIBDIR="${PREFIX}/lib"
|
2004-10-09 22:47:21 +02:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= ${PKGBASE}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
2004-12-02 13:27:08 +01:00
|
|
|
RCD_SCRIPTS= gnugk
|
2004-10-09 22:47:21 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
2004-12-02 13:27:08 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
cd ${WRKSRC}/docs; for f in `find . -type f -print` ; do \
|
|
|
|
${INSTALL_DATA} $$f ${PREFIX}/share/doc/${PKGBASE}; done
|
|
|
|
cd ${WRKSRC}/etc; for f in `find . -type f -print` ; do \
|
2004-10-09 22:47:21 +02:00
|
|
|
${INSTALL_DATA} $$f ${EGDIR}; done
|
|
|
|
|
|
|
|
.include "../../net/openh323/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|