Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2014 14:23:50 +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: r343336 - head/ftp/pftpd
Message-ID:  <201402081423.s18ENoOG019677@svn.freebsd.org>

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

Log:
  - Add stage support

Modified:
  head/ftp/pftpd/Makefile

Modified: head/ftp/pftpd/Makefile
==============================================================================
--- head/ftp/pftpd/Makefile	Sat Feb  8 14:20:51 2014	(r343335)
+++ head/ftp/pftpd/Makefile	Sat Feb  8 14:23:50 2014	(r343336)
@@ -12,17 +12,17 @@ COMMENT=	Multithreaded anonymous FTP dae
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=	yes
 
-MAN1=		pftpd.1 rpad.1
-PLIST_FILES=	sbin/pftpd
+PLIST_FILES=	sbin/pftpd \
+		man/man1/pftpd.1.gz \
+		man/man1/rpad.1.gz
 
-NO_STAGE=	yes
 post-patch:
 	@${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|-lpthread|${PTHREAD_LIBS}|g'
 
 do-install:
-	(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${PREFIX}/sbin)
-	(cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${MANPREFIX}/man/man1)
+	(cd ${WRKSRC}/src && ${INSTALL_PROGRAM} pftpd ${STAGEDIR}${PREFIX}/sbin)
+	(cd ${WRKSRC}/doc && ${INSTALL_MAN} *.1 ${STAGEDIR}${MANPREFIX}/man/man1)
 	@${CAT} ${WRKSRC}/ISSUES
 
 .include <bsd.port.mk>



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