Annotation of pkgsrc/net/gnugk/Makefile, revision 1.18
1.18 ! tron 1: # $NetBSD: Makefile,v 1.17 2013/02/06 23:23:14 jperkin Exp $
1.1 mjl 2:
1.2 adam 3: DISTNAME= gnugk-2.2.0
1.18 ! tron 4: PKGREVISION= 6
1.2 adam 5: CATEGORIES= net
6: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openh323gk/}
7: EXTRACT_SUFX= .tgz
8:
1.9 jlam 9: MAINTAINER= [email protected]
1.2 adam 10: HOMEPAGE= http://www.gnugk.org/
11: COMMENT= H.323 Gatekeeper
1.1 mjl 12:
1.16 obache 13: PKG_DESTDIR_SUPPORT= destdir
14:
1.12 rillig 15: USE_LANGUAGES= c c++
1.11 joerg 16: USE_LIBTOOL= yes
1.6 rillig 17: USE_TOOLS+= gmake
1.2 adam 18: GNU_CONFIGURE= yes
1.16 obache 19: CONFIGURE_ENV+= ac_cv_path_PTLIB_CONFIG=${BUILDLINK_PREFIX.pwlib}/bin/ptlib-config
20: CONFIGURE_ENV+= PWLIBDIR=${BUILDLINK_PREFIX.pwlib}/share/pwlib
21: CONFIGURE_ENV+= OPENH323DIR=${BUILDLINK_PREFIX.openh323}/share/openh323
1.2 adam 22:
23: CFLAGS+= -fexceptions
1.6 rillig 24: MAKE_ENV+= LIBTOOL=${LIBTOOL:Q} SYSLIBDIR="${PREFIX}/lib"
1.1 mjl 25:
26: PKG_SYSCONFSUBDIR= ${PKGBASE}
27: EGDIR= ${PREFIX}/share/examples/${PKGBASE}
1.2 adam 28: RCD_SCRIPTS= gnugk
1.1 mjl 29:
1.16 obache 30: INSTALL_MAKE_FLAGS+= INSTALL_DIR=${DESTDIR}${PREFIX}
31: INSTALLATION_DIRS+= bin
32:
1.1 mjl 33: post-install:
1.16 obache 34: ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
35: ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
1.2 adam 36: cd ${WRKSRC}/docs; for f in `find . -type f -print` ; do \
1.16 obache 37: ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}; done
1.2 adam 38: cd ${WRKSRC}/etc; for f in `find . -type f -print` ; do \
1.16 obache 39: ${INSTALL_DATA} $$f ${DESTDIR}${EGDIR}; done
1.1 mjl 40:
41: .include "../../net/openh323/buildlink3.mk"
42: .include "../../mk/bsd.pkg.mk"
CVSweb <[email protected]>