Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 14:41:17 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343342 - head/ftp/jftpgw
Message-ID:  <201402081441.s18EfHf7026601@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Feb  8 14:41:16 2014
New Revision: 343342
URL: http://svnweb.freebsd.org/changeset/ports/343342
QAT: https://qat.redports.org/buildarchive/r343342/

Log:
  - Add DOCS options
  - Add LICENSE
  - Add stage support

Modified:
  head/ftp/jftpgw/Makefile
  head/ftp/jftpgw/pkg-plist

Modified: head/ftp/jftpgw/Makefile
==============================================================================
--- head/ftp/jftpgw/Makefile	Sat Feb  8 14:38:50 2014	(r343341)
+++ head/ftp/jftpgw/Makefile	Sat Feb  8 14:41:16 2014	(r343342)
@@ -10,24 +10,23 @@ MASTER_SITES=	http://www.mcknight.de/jft
 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>

Modified: head/ftp/jftpgw/pkg-plist
==============================================================================
--- head/ftp/jftpgw/pkg-plist	Sat Feb  8 14:38:50 2014	(r343341)
+++ head/ftp/jftpgw/pkg-plist	Sat Feb  8 14:41:16 2014	(r343342)
@@ -1,4 +1,5 @@
 sbin/jftpgw
+man/man1/jftpgw.1.gz
 etc/jftpgw.conf.sample
 %%PORTDOCS%%%%DOCSDIR%%/config.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402081441.s18EfHf7026601>