summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2014-03-28 19:09:34 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2014-03-28 19:09:34 +0000
commita369bfe70affed04347f541e4d28c4dea1480007 (patch)
tree99fd99a21f87fe8e60c6c447c60e839af338de4c /ftp
parentThose ports are already deprecated, still mark them broken to save a few (diff)
- Convert to STAGE support
Notes
Notes: svn path=/head/; revision=349443
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftpsesame/Makefile10
-rw-r--r--ftp/ftpsesame/files/patch-Makefile12
2 files changed, 6 insertions, 16 deletions
diff --git a/ftp/ftpsesame/Makefile b/ftp/ftpsesame/Makefile
index 057acfba2072..3fec9a1a18c6 100644
--- a/ftp/ftpsesame/Makefile
+++ b/ftp/ftpsesame/Makefile
@@ -11,11 +11,13 @@ MASTER_SITE_SUBDIR= sem
MAINTAINER= sem@FreeBSD.org
COMMENT= Helper for pf firewall to pass FTP protocol
-MAN8= ftpsesame.8
-PLIST_FILES= bin/ftpsesame
+PLIST_FILES= bin/ftpsesame man/man8/ftpsesame.8.gz
USE_RC_SUBR= ftpsesame
-MAKE_ARGS= PREFIX=${PREFIX} MANPREFIX=${MANPREFIX}
+MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} MANPREFIX=${STAGEDIR}${MANPREFIX}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ftpsesame ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ftpsesame.8 ${STAGEDIR}${PREFIX}/man/man8
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/ftp/ftpsesame/files/patch-Makefile b/ftp/ftpsesame/files/patch-Makefile
deleted file mode 100644
index 06d2208921f7..000000000000
--- a/ftp/ftpsesame/files/patch-Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.orig Mon May 1 01:32:30 2006
-+++ Makefile Mon May 1 01:39:28 2006
-@@ -8,7 +8,7 @@
- LDADD+= -lpcap
-
- install:
-- install -s -o root -g bin -m 555 ftpsesame /usr/local/bin
-- install -o root -g bin -m 444 ftpsesame.cat8 /usr/local/man/cat8/ftpsesame.0
-+ install -s -o root -g bin -m 555 ftpsesame ${PREFIX}/bin
-+ install -o root -g bin -m 444 ftpsesame.8 ${MANPREFIX}/man/man8
-
- .include <bsd.prog.mk>