aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-27 20:53:16 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-27 20:53:16 +0800
commitf73a6703e1c827ca3c36b404c6f16322bc4c8eb3 (patch)
tree10c7559385a1cbcdebbd082ae6efdd9f64a8714d /security
parentbf2bfd7d5b273872858f002a54625ca439db5126 (diff)
downloadfreebsd-ports-gnome-f73a6703e1c827ca3c36b404c6f16322bc4c8eb3.tar.gz
freebsd-ports-gnome-f73a6703e1c827ca3c36b404c6f16322bc4c8eb3.tar.zst
freebsd-ports-gnome-f73a6703e1c827ca3c36b404c6f16322bc4c8eb3.zip
- Support staging
- Use curly brackets - Remove an obsolete warning about potentially overwriting existing binaries
Diffstat (limited to 'security')
-rw-r--r--security/fakeident/Makefile18
-rw-r--r--security/fakeident/pkg-plist2
2 files changed, 5 insertions, 15 deletions
diff --git a/security/fakeident/Makefile b/security/fakeident/Makefile
index eb0b810be121..94c3e6a2cce3 100644
--- a/security/fakeident/Makefile
+++ b/security/fakeident/Makefile
@@ -11,21 +11,13 @@ MASTER_SITES= http://www.wa.apana.org.au/~dean/sources/ \
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>
diff --git a/security/fakeident/pkg-plist b/security/fakeident/pkg-plist
deleted file mode 100644
index 88fc475a569b..000000000000
--- a/security/fakeident/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-etc/rc.d/fakeident.sh
-sbin/identd