diff options
author | Stefan Eßer <se@FreeBSD.org> | 2006-08-12 15:16:47 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2006-08-12 15:16:47 +0000 |
commit | d028c5bc432aa73157ccc9de91023b9ea3c5a0f8 (patch) | |
tree | 68ca13a68f3c30d965f4c50522b29899916032d8 /ftp/jftpgw/Makefile | |
parent | - Respect DESTDIR (diff) |
Install to /... instead of to /...
Notes
Notes:
svn path=/head/; revision=170414
Diffstat (limited to '')
-rw-r--r-- | ftp/jftpgw/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ftp/jftpgw/Makefile b/ftp/jftpgw/Makefile index 81936f7073b7..6d9190c46a69 100644 --- a/ftp/jftpgw/Makefile +++ b/ftp/jftpgw/Makefile @@ -19,17 +19,22 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-logpath=/var/log \ --enable-crypt \ --enable-sftp +#USE_RC_SUBR= yes +#USE_REINPLACE= yes MAN1= jftpgw.1 USE_RC_SUBR= jftpgw.sh do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/jftpgw ${PREFIX}/sbin/ - ${INSTALL_DATA} ${WRKSRC}/jftpgw.conf.sample ${PREFIX}/etc/ - ${INSTALL_MAN} ${WRKSRC}/jftpgw.1 ${PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/jftpgw ${TARGETDIR}/sbin/ + ${INSTALL_DATA} ${WRKSRC}/jftpgw.conf.sample ${TARGETDIR}/etc/ + ${INSTALL_MAN} ${WRKSRC}/jftpgw.1 ${TARGETDIR}/man/man1/ +# ${REINPLACE_CMD} -e 's:@PREFIX@:${TARGETDIR}:g' \ +# ${FILESDIR}/jftpgw.sh.in > ${WRKDIR}/jftpgw.sh +# ${INSTALL_SCRIPT} ${WRKDIR}/jftpgw.sh ${TARGETDIR}/etc/rc.d .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/jftpgw - ${INSTALL_DATA} ${WRKSRC}/doc/config.html ${PREFIX}/share/doc/jftpgw + ${MKDIR} ${TARGETDIR}/share/doc/jftpgw + ${INSTALL_DATA} ${WRKSRC}/doc/config.html ${TARGETDIR}/share/doc/jftpgw .endif .include <bsd.port.mk> |