1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Convert to STAGE support

This commit is contained in:
Sergey Matveychuk 2014-03-28 19:09:34 +00:00
parent d0dc190d91
commit a369bfe70a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349443
2 changed files with 6 additions and 16 deletions

View File

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

View File

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