Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 14:28:05 +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: r343337 - head/ftp/oftpd
Message-ID:  <201402081428.s18ES5Ax020214@svn.freebsd.org>

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

Log:
  - Add LICENSE
  - Remove the indefinite article from COMMENT
  - Add stage support

Modified:
  head/ftp/oftpd/Makefile

Modified: head/ftp/oftpd/Makefile
==============================================================================
--- head/ftp/oftpd/Makefile	Sat Feb  8 14:23:50 2014	(r343336)
+++ head/ftp/oftpd/Makefile	Sat Feb  8 14:28:05 2014	(r343337)
@@ -8,15 +8,17 @@ MASTER_SITES=	http://www.time-travellers
 		http://atreides.freenix.no/~anders/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A threaded, anonymous only FTP server designed for security
+COMMENT=	Threaded, anonymous only FTP server designed for security
+
+LICENSE=	BSD2CLAUSE
 
 GNU_CONFIGURE=	yes
 
-MAN8=		oftpd.8
 PORTDOCS=	README AUTHORS ChangeLog NEWS TODO BUGS
-PLIST_FILES=	sbin/oftpd
+PLIST_FILES=	sbin/oftpd man/man8/oftpd.8.gz
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
 		 s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@@ -25,14 +27,11 @@ post-patch:
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/man/oftpd.8 ${MANPREFIX}/man/man8
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/man/oftpd.8 ${STAGEDIR}${MANPREFIX}/man/man8
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>



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