summaryrefslogtreecommitdiff
path: root/ham/dpbox/Makefile
blob: 52d77e754c3e5c01f290a482b79fa4a1e74c50ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.3 2001/02/16 15:13:51 wiz Exp $
#

DISTNAME=	dpbox-60000
PKGNAME=	dpbox-6.00.00
WRKSRC=		${WRKDIR}/dpbox-6.00.00/source
CATEGORIES=	ham
MASTER_SITES=	http://userpage.fu-berlin.de/~jschurig/

MAINTAINER=	wulf@netbsd.org
HOMEPAGE=	http://userpage.fu-berlin.de/~jschurig/
COMMENT=	Multi-Protocol Amateur Packet Radio BBS

USE_GMAKE=	yes
MAKEFILE=	Makefile.netbsd

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

DPBOX_CONF_DIR=	${PREFIX}/share/dpbox/conf
DPBOX_SPOOL_DIR=/var/spool/dpbox
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL

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

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