1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/dns/totd/Makefile
Volker Stolz ecf9e6e7c4 - rcNGify
- Make pkg-deinstall PREFIX-aware while here

PR:		ports/67052
Submitted by:	ume
2004-05-24 11:46:59 +00:00

30 lines
737 B
Makefile

# New ports collection makefile for: totd
# Date created: 17 Nov 2000
# Whom: Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= totd
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= dns ipv6
MASTER_SITES= ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/
MAINTAINER= ports@FreeBSD.org
COMMENT= DNS proxy that supports IPv6 <==> IPv4 record translation
MAN8= totd.8
USE_RC_SUBR= YES
GNU_CONFIGURE= YES
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
post-install:
${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${PREFIX}/etc
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/totd.sh > ${PREFIX}/etc/rc.d/totd.sh
@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/totd.sh
.include <bsd.port.mk>