svn commit: r344733 - head/dns/totd

Baptiste Daroussin bapt at FreeBSD.org
Mon Feb 17 13:11:26 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list