aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/jftpgw
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2006-08-12 23:16:47 +0800
committerse <se@FreeBSD.org>2006-08-12 23:16:47 +0800
commitdec973472e0053ea530185f51ca8afa19759c56c (patch)
treea26ecbbed778d171cd35c1ffbdc57163b5ba08fa /ftp/jftpgw
parent9bf4fd3dae24f3fd4cb423125d5b43170ea320fc (diff)
downloadfreebsd-ports-gnome-dec973472e0053ea530185f51ca8afa19759c56c.tar.gz
freebsd-ports-gnome-dec973472e0053ea530185f51ca8afa19759c56c.tar.zst
freebsd-ports-gnome-dec973472e0053ea530185f51ca8afa19759c56c.zip
Install to /... instead of to /...
Diffstat (limited to 'ftp/jftpgw')
-rw-r--r--ftp/jftpgw/Makefile15
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>