[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / ham / dpbox

File: [cvs.NetBSD.org] / pkgsrc / ham / dpbox / Makefile (download)

Revision 1.18, Wed Oct 3 13:01:43 2012 UTC (8 years, 2 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.17: +1 -3 lines

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.18 2012/10/03 13:01:43 asau Exp $
#

DISTNAME=	dpbox-60000
PKGNAME=	dpbox-6.00.00
PKGREVISION=	3
CATEGORIES=	ham
MASTER_SITES=	http://home.snafu.de/wahlm/dl8hbs/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://home.snafu.de/wahlm/dl8hbs/dpbox.html
COMMENT=	Multi-Protocol Amateur Packet Radio BBS

WRKSRC=		${WRKDIR}/dpbox-6.00.00/source
USE_TOOLS+=	gmake
MAKE_FILE=	Makefile.netbsd

MAKE_ENV+=	prefix=${PREFIX:Q}
INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX}

.include "../../mk/bsd.prefs.mk"

PKG_SYSCONFDIR.dpbox=${PREFIX}/share/dpbox/conf

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

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

post-build:
	${SED} -e 's#@prefix@#${PREFIX}#g' \
		< ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.00.00/dpbox.ini

.include "../../mk/bsd.pkg.mk"