2018-08-22 11:43:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.40 2018/08/22 09:46:47 wiz Exp $
|
2003-04-13 03:29:42 +02:00
|
|
|
#
|
2002-03-15 08:19:58 +01:00
|
|
|
|
2004-03-21 13:30:33 +01:00
|
|
|
DISTNAME= ndtpd-3.1.5
|
2018-08-22 11:43:40 +02:00
|
|
|
PKGREVISION= 12
|
2002-03-15 08:19:58 +01:00
|
|
|
CATEGORIES= textproc japanese
|
|
|
|
MASTER_SITES= ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= uebayasi@NetBSD.org
|
2002-03-15 08:19:58 +01:00
|
|
|
HOMEPAGE= http://www.sra.co.jp/people/m-kasahr/ndtpd/
|
|
|
|
COMMENT= Server for accessing CD-ROM books with NDTP
|
|
|
|
|
2006-12-06 17:57:51 +01:00
|
|
|
USE_TOOLS+= makeinfo perl:run
|
2003-04-13 03:29:42 +02:00
|
|
|
USE_LIBTOOL= YES
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
2003-08-06 00:21:56 +02:00
|
|
|
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${NDTPD_RUNDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-logdir=${NDTPD_LOGDIR:Q}
|
2003-04-13 03:29:42 +02:00
|
|
|
CONFIGURE_ARGS+= --with-eb
|
|
|
|
CONFIGURE_ARGS+= --with-zlib
|
2007-04-27 06:08:19 +02:00
|
|
|
CONFIGURE_ARGS+= --with-eb-conf=${PKG_SYSCONFDIR}/eb.conf
|
2003-04-13 03:29:42 +02:00
|
|
|
|
2006-04-09 01:10:29 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_BZIP2=bzip2
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_COMPRESS=compress
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_GZIPCMD=gzip
|
|
|
|
|
2002-03-15 08:19:58 +01:00
|
|
|
# For INSTALL/DEINSTALL scripts.
|
2003-04-13 03:29:42 +02:00
|
|
|
CONF_FILES= ${EGDIR}/ndtpd.conf.default ${PKG_SYSCONFDIR}/ndtpd.conf
|
|
|
|
RCD_SCRIPTS= ndtpd
|
|
|
|
|
2002-04-02 17:59:50 +02:00
|
|
|
# Will be also used for ndtpd.sh.
|
2005-12-05 21:49:47 +01:00
|
|
|
FILES_SUBST+= NDTPD_RUNDIR=${NDTPD_RUNDIR:Q}
|
2002-03-15 08:19:58 +01:00
|
|
|
|
2003-04-13 03:29:42 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/ndtpd
|
2006-10-06 17:12:58 +02:00
|
|
|
NDTPD_LOGDIR= /var/log
|
|
|
|
NDTPD_RUNDIR= /var/run
|
2002-04-02 17:59:50 +02:00
|
|
|
# XXX NDTPD actually uses ${NDTPD_RUNDIR}/ndtpd.
|
2002-03-15 08:19:58 +01:00
|
|
|
|
2009-07-07 23:08:34 +02:00
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
|
2002-03-15 08:19:58 +01:00
|
|
|
post-install:
|
2003-04-13 03:29:42 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ndtpd.conf.sample \
|
2009-07-07 23:08:34 +02:00
|
|
|
${DESTDIR}${EGDIR}/ndtpd.conf.default
|
2002-03-15 08:19:58 +01:00
|
|
|
|
2004-05-05 01:46:36 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../textproc/eb/buildlink3.mk"
|
2003-04-13 03:29:42 +02:00
|
|
|
|
2002-03-15 08:19:58 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|