2019-11-03 20:32:06 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2019/11/03 19:32:07 rillig Exp $
|
2000-05-15 12:54:44 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= dpbox-60000
|
|
|
|
PKGNAME= dpbox-6.00.00
|
2006-04-30 18:12:01 +02:00
|
|
|
PKGREVISION= 3
|
2000-05-15 12:54:44 +02:00
|
|
|
CATEGORIES= ham
|
2003-09-20 01:08:22 +02:00
|
|
|
MASTER_SITES= http://home.snafu.de/wahlm/dl8hbs/
|
2000-05-15 12:54:44 +02:00
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-09-20 01:08:22 +02:00
|
|
|
HOMEPAGE= http://home.snafu.de/wahlm/dl8hbs/dpbox.html
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= Multi-Protocol Amateur Packet Radio BBS
|
2000-05-15 12:54:44 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/dpbox-6.00.00/source
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= Makefile.netbsd
|
2000-05-15 12:54:44 +02:00
|
|
|
|
2019-11-03 20:32:06 +01:00
|
|
|
MAKE_ENV+= prefix=${PREFIX:Q}
|
2010-01-30 00:46:10 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
|
2003-06-07 17:20:30 +02:00
|
|
|
|
2000-05-15 12:54:44 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2019-11-03 20:32:06 +01:00
|
|
|
PKG_SYSCONFDIR.dpbox= ${PREFIX}/share/dpbox/conf
|
2006-04-21 04:07:53 +02:00
|
|
|
|
2019-11-03 20:32:06 +01:00
|
|
|
DPBOX_CONF_DIR= ${PKG_SYSCONFDIR}
|
|
|
|
DPBOX_SPOOL_DIR= /var/spool/dpbox
|
|
|
|
FILES_SUBST+= DPBOX_CONF_DIR=${DPBOX_CONF_DIR:Q} \
|
|
|
|
DPBOX_SPOOL_DIR=${DPBOX_SPOOL_DIR:Q}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}/conf
|
2006-04-21 04:07:53 +02:00
|
|
|
|
|
|
|
REQD_DIRS= ${PKG_SYSCONFDIR} \
|
|
|
|
${PKG_SYSCONFDIR}/sf \
|
|
|
|
${PKG_SYSCONFDIR}/system \
|
|
|
|
${DPBOX_SPOOL_DIR}/crawler \
|
|
|
|
${DPBOX_SPOOL_DIR}/fileserv \
|
|
|
|
${DPBOX_SPOOL_DIR}/fileserv/incoming \
|
|
|
|
${DPBOX_SPOOL_DIR}/fileserv/temp7pl \
|
|
|
|
${DPBOX_SPOOL_DIR}/fileserv/newbin \
|
|
|
|
${DPBOX_SPOOL_DIR}/indexes \
|
|
|
|
${DPBOX_SPOOL_DIR}/infofiles \
|
|
|
|
${DPBOX_SPOOL_DIR}/import \
|
|
|
|
${DPBOX_SPOOL_DIR}/newmail \
|
|
|
|
${DPBOX_SPOOL_DIR}/privserv \
|
|
|
|
${DPBOX_SPOOL_DIR}/privserv/temp7pl \
|
|
|
|
${DPBOX_SPOOL_DIR}/proto \
|
|
|
|
${DPBOX_SPOOL_DIR}/save \
|
|
|
|
${DPBOX_SPOOL_DIR}/server \
|
|
|
|
${DPBOX_SPOOL_DIR}/stat \
|
|
|
|
${DPBOX_SPOOL_DIR}/stat/extusers
|
|
|
|
|
|
|
|
CONF_FILES= ${EGDIR}/dpbox.ini ${PKG_SYSCONFDIR}/dpbox.ini \
|
|
|
|
${EGDIR}/crawler/stopwords ${DPBOX_SPOOL_DIR}/crawler/stopwords \
|
|
|
|
${EGDIR}/sf/db0xyz.sf ${PKG_SYSCONFDIR}/sf/db0xyz.sf \
|
|
|
|
${EGDIR}/system/badwords.box ${PKG_SYSCONFDIR}/system/badwords.box \
|
|
|
|
${EGDIR}/system/bcast.box ${PKG_SYSCONFDIR}/system/bcast.box \
|
|
|
|
${EGDIR}/system/beacon.box ${PKG_SYSCONFDIR}/system/beacon.box \
|
|
|
|
${EGDIR}/system/commands.box ${PKG_SYSCONFDIR}/system/commands.box \
|
|
|
|
${EGDIR}/system/config.box ${PKG_SYSCONFDIR}/system/config.box \
|
|
|
|
${EGDIR}/system/convlt.box ${PKG_SYSCONFDIR}/system/convlt.box \
|
|
|
|
${EGDIR}/system/convtit.box ${PKG_SYSCONFDIR}/system/convtit.box \
|
|
|
|
${EGDIR}/system/cookies.doc ${PKG_SYSCONFDIR}/system/cookies.doc \
|
|
|
|
${EGDIR}/system/digimap.stn ${PKG_SYSCONFDIR}/system/digimap.stn \
|
|
|
|
${EGDIR}/system/prefix.inf ${PKG_SYSCONFDIR}/system/prefix.inf \
|
|
|
|
${EGDIR}/system/prefix.sub ${PKG_SYSCONFDIR}/system/prefix.sub \
|
|
|
|
${EGDIR}/system/prvcalls.box ${PKG_SYSCONFDIR}/system/prvcalls.box \
|
|
|
|
${EGDIR}/system/reject.box ${PKG_SYSCONFDIR}/system/reject.box \
|
|
|
|
${EGDIR}/system/rubriken.box ${PKG_SYSCONFDIR}/system/rubriken.box \
|
|
|
|
${EGDIR}/system/tcpip.box ${PKG_SYSCONFDIR}/system/tcpip.box \
|
|
|
|
${EGDIR}/system/transfer.box ${PKG_SYSCONFDIR}/system/transfer.box \
|
|
|
|
${EGDIR}/system/unproto.box ${PKG_SYSCONFDIR}/system/unproto.box \
|
|
|
|
${EGDIR}/system/whotalks.lan ${PKG_SYSCONFDIR}/system/whotalks.box
|
2000-05-15 12:54:44 +02:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
${SED} -e 's#@prefix@#${PREFIX}#g' \
|
2006-03-14 02:14:26 +01:00
|
|
|
< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.00.00/dpbox.ini
|
2000-05-15 12:54:44 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|