Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 12:53:16 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349333 - head/security/fakeident
Message-ID:  <201403271253.s2RCrGqQ079707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 27 12:53:16 2014
New Revision: 349333
URL: http://svnweb.freebsd.org/changeset/ports/349333
QAT: https://qat.redports.org/buildarchive/r349333/

Log:
  - Support staging
  - Use curly brackets
  - Remove an obsolete warning about potentially overwriting existing binaries

Deleted:
  head/security/fakeident/pkg-plist
Modified:
  head/security/fakeident/Makefile

Modified: head/security/fakeident/Makefile
==============================================================================
--- head/security/fakeident/Makefile	Thu Mar 27 12:40:26 2014	(r349332)
+++ head/security/fakeident/Makefile	Thu Mar 27 12:53:16 2014	(r349333)
@@ -11,21 +11,13 @@ MASTER_SITES=	http://www.wa.apana.org.au
 MAINTAINER=	dean@odyssey.apana.org.au
 COMMENT=	Tool that replies with a standard answer to incoming identd requests
 
-NO_STAGE=	yes
+PLIST_FILES=	etc/rc.d/fakeident.sh sbin/identd
+
 do-build:
-	@cd $(WRKSRC); \
-	$(CC) $(CFLAGS) -o identd identd.c
-	@echo ""
-	@echo "*** CAUTION:"
-	@echo ""
-	@echo "This port may overwrite any other identd daemon"
-	@echo "you have installed. It is recommended that any"
-	@echo "other identd ports be deinstalled prior to"
-	@echo "running make install for this port."
-	@echo ""
+	${CC} ${CFLAGS} -o ${WRKSRC}/identd ${WRKSRC}/identd.c
 
 do-install:
-	$(INSTALL_SCRIPT) $(WRKSRC)/identd $(PREFIX)/sbin
-	$(INSTALL_SCRIPT) $(FILESDIR)/fakeident.sh $(PREFIX)/etc/rc.d
+	${INSTALL_SCRIPT} ${WRKSRC}/identd ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${FILESDIR}/fakeident.sh ${STAGEDIR}${PREFIX}/etc/rc.d
 
 .include <bsd.port.mk>



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