pkgsrc/textproc/ndtpd/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.39 2016/07/09 06:39:07 wiz Exp $
#
2004-03-21 13:30:33 +01:00
DISTNAME= ndtpd-3.1.5
PKGREVISION= 11
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
HOMEPAGE= http://www.sra.co.jp/people/m-kasahr/ndtpd/
COMMENT= Server for accessing CD-ROM books with NDTP
USE_TOOLS+= makeinfo perl:run
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
INFO_FILES= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${NDTPD_RUNDIR:Q}
CONFIGURE_ARGS+= --with-logdir=${NDTPD_LOGDIR:Q}
CONFIGURE_ARGS+= --with-eb
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-eb-conf=${PKG_SYSCONFDIR}/eb.conf
CONFIGURE_ENV+= ac_cv_path_BZIP2=bzip2
CONFIGURE_ENV+= ac_cv_path_COMPRESS=compress
CONFIGURE_ENV+= ac_cv_path_GZIPCMD=gzip
# For INSTALL/DEINSTALL scripts.
CONF_FILES= ${EGDIR}/ndtpd.conf.default ${PKG_SYSCONFDIR}/ndtpd.conf
RCD_SCRIPTS= ndtpd
# Will be also used for ndtpd.sh.
FILES_SUBST+= NDTPD_RUNDIR=${NDTPD_RUNDIR:Q}
EGDIR= ${PREFIX}/share/examples/ndtpd
2006-10-06 17:12:58 +02:00
NDTPD_LOGDIR= /var/log
NDTPD_RUNDIR= /var/run
# XXX NDTPD actually uses ${NDTPD_RUNDIR}/ndtpd.
2009-07-07 23:08:34 +02:00
INSTALLATION_DIRS= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/ndtpd.conf.sample \
2009-07-07 23:08:34 +02:00
${DESTDIR}${EGDIR}/ndtpd.conf.default
2004-05-05 01:46:36 +02:00
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/eb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"