Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 00:15:38 +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: r343411 - head/ftp/twoftpd
Message-ID:  <201402090015.s190FcXn072578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Feb  9 00:15:37 2014
New Revision: 343411
URL: http://svnweb.freebsd.org/changeset/ports/343411
QAT: https://qat.redports.org/buildarchive/r343411/

Log:
  - Add stage support
  - Add LICENSE
  - Convert LIB_DEPENDS to new syntax

Modified:
  head/ftp/twoftpd/Makefile

Modified: head/ftp/twoftpd/Makefile
==============================================================================
--- head/ftp/twoftpd/Makefile	Sat Feb  8 23:39:44 2014	(r343410)
+++ head/ftp/twoftpd/Makefile	Sun Feb  9 00:15:37 2014	(r343411)
@@ -7,31 +7,28 @@ CATEGORIES=	ftp
 MASTER_SITES=	http://untroubled.org/${PORTNAME}/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A simple, secure, efficient FTP server
+COMMENT=	Simple, secure, efficient FTP server
 
-BUILD_DEPENDS=	${LOCALBASE}/bin/bg-installer:${PORTSDIR}/devel/bglibs
-LIB_DEPENDS=	cvm-v2client:${PORTSDIR}/security/cvm
+LICENSE=	GPLv2
 
-#LICENSE=	GPLv2
+BUILD_DEPENDS=	${LOCALBASE}/bin/bg-installer:${PORTSDIR}/devel/bglibs
+LIB_DEPENDS=	libcvm-v2client.so:${PORTSDIR}/security/cvm
 
 OPTIONS_DEFINE=	DOCS
 
-
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 BGLIBS_LIB=	${LOCALBASE}/lib/bglibs
 BGLIBS_INCLUDE=	${LOCALBASE}/include/bglibs
 
-MAN1=		twoftpd-auth.1 twoftpd-switch.1 twoftpd-xfer.1
 PORTDOCS=	NEWS README TODO
 PLIST_FILES=	bin/twoftpd-anon bin/twoftpd-anon-conf \
 		bin/twoftpd-auth bin/twoftpd-bind-port \
 		bin/twoftpd-conf bin/twoftpd-drop \
-		bin/twoftpd-switch bin/twoftpd-xfer
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+		bin/twoftpd-switch bin/twoftpd-xfer \
+		man/man1/twoftpd-auth.1.gz man/man1/twoftpd-switch.1.gz \
+		man/man1/twoftpd-xfer.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,timezone,tm.tm_gmtoff,' ${WRKSRC}/statmod.c
@@ -44,12 +41,17 @@ do-configure:
 	@${ECHO_CMD} "${BGLIBS_INCLUDE}" > ${WRKSRC}/conf-bgincs
 	@${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-bglibs
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+do-install:
+.for f in twoftpd-anon twoftpd-anon-conf twoftpd-auth twoftpd-bind-port \
+	twoftpd-conf twoftpd-drop twoftpd-switch twoftpd-xfer
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/
+.endfor
+.for f in twoftpd-auth.1 twoftpd-switch.1 twoftpd-xfer.1
+	${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MAN1PREFIX}/man/man1/
+.endfor
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in NEWS README TODO
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
 .endfor
-.endif
 
 .include <bsd.port.mk>



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