Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2014 13:11:26 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344733 - head/dns/totd
Message-ID:  <201402171311.s1HDBQNW054262@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Feb 17 13:11:25 2014
New Revision: 344733
URL: http://svnweb.freebsd.org/changeset/ports/344733
QAT: https://qat.redports.org/buildarchive/r344733/

Log:
  Support stage
  Support packaging as a user
  Avoid useless patching to define the compiler

Modified:
  head/dns/totd/Makefile

Modified: head/dns/totd/Makefile
==============================================================================
--- head/dns/totd/Makefile	Mon Feb 17 13:05:39 2014	(r344732)
+++ head/dns/totd/Makefile	Mon Feb 17 13:11:25 2014	(r344733)
@@ -10,20 +10,23 @@ MASTER_SITES=	ftp://ftp.pasta.cs.uit.no/
 MAINTAINER=	ed@FreeBSD.org
 COMMENT=	DNS proxy that supports IPv6 <==> IPv4 record translation
 
+USES=		desthack uidfix
+
 USE_RC_SUBR=	totd
 GNU_CONFIGURE=	yes
 
-MAN8=		totd.8
-PLIST_FILES=	etc/totd.conf.sample sbin/totd
+PLIST_FILES=	etc/totd.conf.sample sbin/totd \
+		man/man8/totd.8.gz
 
 EXTRA_PATCHES=	${FILESDIR}/extra-patch-ne_mesg.c \
 		${FILESDIR}/extra-patch-tcp_response.c
 
-NO_STAGE=	yes
+MAKE_ARGS=	CC="${CC}"
+
 post-patch:
-	@${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/${MAKEFILE}.in
+	${REINPLACE_CMD} -e 's/-o bin -g bin//g; s/-o root -g wheel//g' ${WRKSRC}/Makefile.in
 
 post-install:
-	${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${PREFIX}/etc
+	${INSTALL_DATA} ${FILESDIR}/totd.conf.sample ${STAGEDIR}${PREFIX}/etc
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402171311.s1HDBQNW054262>