svn commit: r349333 - head/security/fakeident

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 27 12:53:17 UTC 2014


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


More information about the svn-ports-head mailing list