pkgsrc/net/gnugk/Makefile

43 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2020/01/18 21:50:14 jperkin Exp $
2004-12-02 13:27:08 +01:00
DISTNAME= gnugk-2.2.0
PKGREVISION= 8
2004-12-02 13:27:08 +01:00
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openh323gk/}
EXTRACT_SUFX= .tgz
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
2011-05-21 06:17:44 +02:00
PKG_DESTDIR_SUPPORT= destdir
USE_LANGUAGES= c c++
2006-06-08 21:50:22 +02:00
USE_LIBTOOL= yes
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
MAKE_ENV+= LIBTOOL=${LIBTOOL:Q} SYSLIBDIR="${PREFIX}/lib"
PKG_SYSCONFSUBDIR= ${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
2004-12-02 13:27:08 +01:00
RCD_SCRIPTS= gnugk
2011-05-21 06:17:44 +02:00
INSTALL_MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX}
INSTALLATION_DIRS+= bin
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
.include "../../net/openh323/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"