freebsd-ports/misc/yaunc/Makefile
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

34 lines
750 B
Makefile

# New ports collection makefile for: yaunc
# Date created: 5 March 2000
# Whom: nsayer@freebsd.org
#
# $FreeBSD$
#
PORTNAME= yaunc
PORTVERSION= 1.02
CATEGORIES= misc
MASTER_SITES= http://www.redterror.net/code/yaunc/
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Yet another uptimes.net client
ALL_TARGET= bsd
CFLAGS+= -DCONFFILE=\\\"${PREFIX}/etc/yaunc.conf\\\"
PLIST_FILES= bin/yaunc \
etc/yaunc.conf.sample
USE_RC_SUBR= yaunc
MAN1= yaunc.1
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/yaunc.1
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
.include <bsd.port.mk>