2020-01-18 22:48:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2020/01/18 21:50:14 jperkin Exp $
|
2004-10-09 22:47:21 +02:00
|
|
|
|
2004-12-02 13:27:08 +01:00
|
|
|
DISTNAME= gnugk-2.2.0
|
2020-01-18 22:48:19 +01:00
|
|
|
PKGREVISION= 8
|
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
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://www.gnugk.org/
|
2004-12-02 13:27:08 +01:00
|
|
|
COMMENT= H.323 Gatekeeper
|
2004-10-09 22:47:21 +02:00
|
|
|
|
2011-05-21 06:17:44 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= destdir
|
|
|
|
|
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
|
2011-05-21 06:17:44 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_PTLIB_CONFIG=${BUILDLINK_PREFIX.pwlib}/bin/ptlib-config
|
|
|
|
CONFIGURE_ENV+= PWLIBDIR=${BUILDLINK_PREFIX.pwlib}/share/pwlib
|
|
|
|
CONFIGURE_ENV+= OPENH323DIR=${BUILDLINK_PREFIX.openh323}/share/openh323
|
2004-12-02 13:27:08 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
2011-05-21 06:17:44 +02:00
|
|
|
INSTALL_MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX}
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
|
2004-10-09 22:47:21 +02:00
|
|
|
post-install:
|
2011-05-21 06:17:44 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
2004-12-02 13:27:08 +01:00
|
|
|
cd ${WRKSRC}/docs; for f in `find . -type f -print` ; do \
|
2011-05-21 06:17:44 +02:00
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}; done
|
2004-12-02 13:27:08 +01:00
|
|
|
cd ${WRKSRC}/etc; for f in `find . -type f -print` ; do \
|
2011-05-21 06:17:44 +02:00
|
|
|
${INSTALL_DATA} $$f ${DESTDIR}${EGDIR}; done
|
2004-10-09 22:47:21 +02:00
|
|
|
|
|
|
|
.include "../../net/openh323/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|