summaryrefslogtreecommitdiff
path: root/net/rinetd/Makefile
blob: d56ea4f2f0e5b5436ac7f9b37d4e19794467e4c1 (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
# $NetBSD: Makefile,v 1.1.1.1 2003/10/01 01:15:44 grant Exp $
#

DISTNAME=		rinetd
PKGNAME=		${DISTNAME}-0.62
WRKSRC=			${WRKDIR}/${PKGNAME:S|nb*||}
CATEGORIES=		net
MASTER_SITES=		http://www.boutell.com/rinetd/http/

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://www.boutell.com/rinetd/
COMMENT=		Internet redirection server

NO_CONFIGURE=		# defined
USE_PKGINSTALL=		yes
ALL_TARGET=		rinetd

CPPFLAGS+=		-DRINETD_CONF='\"${PKG_SYSCONFDIR}/rinetd.conf\"'

RCD_SCRIPTS=		rinetd

post-extract:
	@cd ${WRKDIR} && ${MV} -f rinetd ${PKGNAME:S|nb*||}

pre-build:
	@${MV} -f ${WRKSRC}/rinetd.8 ${WRKSRC}/rinetd.8.pre
	@${SED} ${FILES_SUBST_SED} ${WRKSRC}/rinetd.8.pre \
		> ${WRKSRC}/rinetd.8

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