pkgsrc/devel/opencm/Makefile
jlam 6e0c050321 * Teach the tools framework how to supply the pkgsrc version of
makeinfo if no native makeinfo executable exists.  Honor TEXINFO_REQD
  when determining whether the native makeinfo can be used.

* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.

* Get rid of all the "split" argument deduction for makeinfo since
  the PLIST module already handles varying numbers of split info files
  correctly.

NOTE: Platforms that have "makeinfo" in the base system should check
      that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
      correct.
2006-03-05 16:27:22 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.39 2006/03/05 16:27:25 jlam Exp $
#
DISTNAME= ${OPENCM_VERSION}-2-src
PKGNAME= ${OPENCM_VERSION:C/alpha/rc/}
PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.opencm.org/releases/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.opencm.org/
COMMENT= Secure, high-integrity replacement for CVS
WRKSRC= ${WRKDIR}/${OPENCM_VERSION}/base
USE_TOOLS+= gmake gzip makeinfo
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --infodir=${PREFIX}/${INFO_DIR}
CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl}
OPENCM_VERSION= opencm-0.1.2alpha8
CONF_FILES= ${PREFIX}/share/examples/opencm/opencm.conf \
${PKG_SYSCONFDIR}/opencm.conf
INFO_FILES= opencm.info
CPPFLAGS+= -D__unix__
MAKE_ENV+= GZIP_CMD=${GZIP_CMD:Q}
post-install:
gzip -d ${PREFIX}/info/opencm.info.gz
.include "../../devel/boehm-gc/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"