summaryrefslogtreecommitdiffstats
path: root/misc/yaunc/Makefile
blob: 8f8c6e832e7d8a934cadbb9e127b1db85e2200d4 (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
32
# New ports collection makefile for:	yaunc
# Date created:		5 March 2000
# Whom:			nsayer@freebsd.org
#
# $FreeBSD$
#

PORTNAME=	yaunc
PORTVERSION=	0.06
PORTREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://www.redterror.net/code/yaunc/

MAINTAINER=	ports@FreeBSD.org

USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
MAN1=		yaunc.1

post-patch:
	@${CP} -f ${FILESDIR}/startup ${WRKSRC}/yaunc.sh
.for file in yaunc.1 yaunc.sh
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file}
.endfor

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/yaunc ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/yaunc.1 ${MANPREFIX}/man/man1
	${INSTALL_DATA} -m 600 ${WRKSRC}/yaunc.conf ${PREFIX}/etc/yaunc.conf.sample
	${INSTALL_SCRIPT} -m 755 ${WRKSRC}/yaunc.sh ${PREFIX}/etc/rc.d

.include <bsd.port.mk>
OpenPOWER on IntegriCloud