aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-02-08 22:41:16 +0800
committerdanilo <danilo@FreeBSD.org>2014-02-08 22:41:16 +0800
commit6c74c1c9acb65d9263752b8abd264ac4182a84fe (patch)
treef423a8c11668705a7bf538e027d7658a1b125ebe /ftp
parente0956029530b969efb49f0c7c0b2c56baf5d213c (diff)
downloadfreebsd-ports-gnome-6c74c1c9acb65d9263752b8abd264ac4182a84fe.tar.gz
freebsd-ports-gnome-6c74c1c9acb65d9263752b8abd264ac4182a84fe.tar.zst
freebsd-ports-gnome-6c74c1c9acb65d9263752b8abd264ac4182a84fe.zip
- Add DOCS options
- Add LICENSE - Add stage support
Diffstat (limited to 'ftp')
-rw-r--r--ftp/jftpgw/Makefile17
-rw-r--r--ftp/jftpgw/pkg-plist1
2 files changed, 9 insertions, 9 deletions
diff --git a/ftp/jftpgw/Makefile b/ftp/jftpgw/Makefile
index 37cddc7f721c..7ac4e60efe34 100644
--- a/ftp/jftpgw/Makefile
+++ b/ftp/jftpgw/Makefile
@@ -10,24 +10,23 @@ MASTER_SITES= http://www.mcknight.de/jftpgw/
MAINTAINER= ports@FreeBSD.org
COMMENT= Highly configurable FTP proxy
+LICENSE= GPLv2
+
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-logpath=/var/log \
--enable-crypt \
--enable-sftp
-MAN1= jftpgw.1
+OPTIONS_DEFINE= DOCS
USE_RC_SUBR= ${PORTNAME}
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/jftpgw ${PREFIX}/sbin/
- ${INSTALL_DATA} ${WRKSRC}/jftpgw.conf.sample ${PREFIX}/etc/
- ${INSTALL_MAN} ${WRKSRC}/jftpgw.1 ${PREFIX}/man/man1/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/jftpgw
- ${INSTALL_DATA} ${WRKSRC}/doc/config.html ${PREFIX}/share/doc/jftpgw
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/jftpgw ${STAGEDIR}${PREFIX}/sbin/
+ ${INSTALL_DATA} ${WRKSRC}/jftpgw.conf.sample ${STAGEDIR}${PREFIX}/etc/
+ ${INSTALL_MAN} ${WRKSRC}/jftpgw.1 ${STAGEDIR}${PREFIX}/man/man1/
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/jftpgw
+ ${INSTALL_DATA} ${WRKSRC}/doc/config.html ${STAGEDIR}${PREFIX}/share/doc/jftpgw
.include <bsd.port.mk>
diff --git a/ftp/jftpgw/pkg-plist b/ftp/jftpgw/pkg-plist
index a125e6120995..7f6c6cf2d47a 100644
--- a/ftp/jftpgw/pkg-plist
+++ b/ftp/jftpgw/pkg-plist
@@ -1,4 +1,5 @@
sbin/jftpgw
+man/man1/jftpgw.1.gz
etc/jftpgw.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/config.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%