diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2002-03-15 07:19:58 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2002-03-15 07:19:58 +0000 |
commit | 677723e07821430e410e04f4c9e77d5a31550e1e (patch) | |
tree | f4fa026c0d92cb01abdefecefc6066a92b2c2cb7 /textproc/ndtpd/Makefile | |
parent | 58c0212d2fb55d33d1e843cee7f950df0b99995a (diff) | |
download | pkgsrc-677723e07821430e410e04f4c9e77d5a31550e1e.tar.gz |
Initial import of NDTPD 2.1.1, a server for accessing CD-ROM books /
dictionaries with NDTP protocol.
Diffstat (limited to 'textproc/ndtpd/Makefile')
-rw-r--r-- | textproc/ndtpd/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/textproc/ndtpd/Makefile b/textproc/ndtpd/Makefile new file mode 100644 index 00000000000..20cd646be0f --- /dev/null +++ b/textproc/ndtpd/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/03/15 07:19:58 uebayasi Exp $ + +DISTNAME= ndtpd-3.1.1 +CATEGORIES= textproc japanese +MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/ + +PATCHFILES= ${DISTNAME}+.diff +PATCH_SITES= ${MASTER_SITES} + +MAINTAINER= uebayasi@soum.co.jp +HOMEPAGE= http://www.sra.co.jp/people/m-kasahr/ndtpd/ +COMMENT= Server for accessing CD-ROM books with NDTP + +USE_BUILDLINK_ONLY= # Defined +USE_LIBTOOL= # Defined +GNU_CONFIGURE= # Defined +CONFIGURE_ARGS+=--localstatedir=${NDTPD_RUNDIR} +CONFIGURE_ARGS+=--with-logdir=${NDTPD_LOGDIR} +CONFIGURE_ARGS+=--with-eb +CONFIGURE_ARGS+=--with-eb-includes=${PREFIX}/include +CONFIGURE_ARGS+=--with-eb-libraries=${PREFIX}/lib +CONFIGURE_ARGS+=--with-zlib +MAKE_FLAGS+= INSTALL_INFO=${INSTALL_INFO} +# For INSTALL/DEINSTALL scripts. +CONF_FILES= ${NDTPD_CONFDIR}/ndtpd.conf.sample ${NDTPD_CONFDIR}/ndtpd.conf +OWN_DIRS= ${NDTPD_RUNDIR}/ndtpd +RCD_SCRIPT= ndtpd.sh +# Will be used not only for INSTALL but also ndtpd.sh. +FILES_SUBST+= NDTPD_RUNDIR=${NDTPD_RUNDIR:Q} + +NDTPD_CONFDIR= ${PREFIX}/etc +NDTPD_LOGDIR= ${DESTDIR}/var/log +NDTPD_RUNDIR= ${DESTDIR}/var/run + +post-build: + @${SED} ${FILES_SUBST_SED} ${FILESDIR}/ndtpd.sh >${WRKDIR}/ndtpd.sh + +post-install: + @${INSTALL_DATA} ${WRKDIR}/ndtpd.sh ${PREFIX}/etc/rc.d/ndtpd.sh + +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../textproc/eb/buildlink.mk" +.include "../../mk/texinfo.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" |