- USE_RC_SUBR != yes

- portlint
This commit is contained in:
Philip M. Gollucci 2009-07-15 05:37:48 +00:00
parent e121f07727
commit bb1cbd56e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237852
3 changed files with 5 additions and 8 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= jftpgw
PORTVERSION= 0.13.5
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= ftp
MASTER_SITES= http://www.mcknight.de/jftpgw/
@ -19,18 +19,15 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-logpath=/var/log \
--enable-crypt \
--enable-sftp
#USE_RC_SUBR= yes
MAN1= jftpgw.1
USE_RC_SUBR= jftpgw.sh
USE_RC_SUBR= ${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jftpgw ${PREFIX}/sbin/
${INSTALL_DATA} ${WRKSRC}/jftpgw.conf.sample ${PREFIX}/etc/
${INSTALL_MAN} ${WRKSRC}/jftpgw.1 ${PREFIX}/man/man1/
# ${REINPLACE_CMD} -e 's:@PREFIX@:${PREFIX}:g' \
# ${FILESDIR}/jftpgw.sh.in > ${WRKDIR}/jftpgw.sh
# ${INSTALL_SCRIPT} ${WRKDIR}/jftpgw.sh ${PREFIX}/etc/rc.d
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/jftpgw
${INSTALL_DATA} ${WRKSRC}/doc/config.html ${PREFIX}/share/doc/jftpgw

View file

@ -1,4 +1,4 @@
sbin/jftpgw
etc/jftpgw.conf.sample
%%PORTDOCS%%share/doc/jftpgw/config.html
%%PORTDOCS%%@dirrm share/doc/jftpgw
%%PORTDOCS%%%%DOCSDIR%%/config.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%