pkgsrc/net/gnugk/Makefile
reed 32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2004/12/28 02:47:46 reed Exp $
DISTNAME= gnugk-2.2.0
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openh323gk/}
EXTRACT_SUFX= .tgz
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnugk.org/
COMMENT= H.323 Gatekeeper
USE_BUILDLINK3= yes
USE_GNU_TOOLS= make
USE_PKGINSTALL= yes
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
MAKE_ENV+= LIBTOOL="${LIBTOOL}" SYSLIBDIR="${PREFIX}/lib"
PKG_SYSCONFSUBDIR= ${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/gnugk.ini ${PKG_SYSCONFDIR}/gnugk.ini
RCD_SCRIPTS= gnugk
post-install:
${INSTALL_DATA_DIR} ${EGDIR}
${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 \
${INSTALL_DATA} $$f ${EGDIR}; done
.include "../../net/openh323/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"