Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 09:41:52 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348457 - head/net/ncp
Message-ID:  <201403170941.s2H9fqsi073124@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Mar 17 09:41:52 2014
New Revision: 348457
URL: http://svnweb.freebsd.org/changeset/ports/348457
QAT: https://qat.redports.org/buildarchive/r348457/

Log:
  - Support staging
  - Don't build with debug symbols

Modified:
  head/net/ncp/Makefile

Modified: head/net/ncp/Makefile
==============================================================================
--- head/net/ncp/Makefile	Mon Mar 17 09:36:51 2014	(r348456)
+++ head/net/ncp/Makefile	Mon Mar 17 09:41:52 2014	(r348457)
@@ -11,18 +11,15 @@ COMMENT=	A fast file copy tool for LANs
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat
 
-USE_BZIP2=	yes
-MANCOMPRESSED=	no
+USES=		tar:bzip2
 
-MAN1=		ncp.1 npush.1
-PLIST_FILES=	bin/ncp bin/npush bin/npoll
+PLIST_FILES=	bin/ncp bin/npush bin/npoll man/man1/ncp.1.gz man/man1/npush.1.gz
 
 CFLAGS+=	-I${LOCALBASE}/include/libowfat -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|^CC=gcc|CC=${CC}|' \
 		${WRKSRC}/Makefile
@@ -32,9 +29,10 @@ post-patch:
 		${WRKSRC}/Makefile
 
 do-install:
-	cd ${WRKSRC}; ${INSTALL_PROGRAM} ncp ${PREFIX}/bin
-	cd ${WRKSRC}; ${INSTALL_MAN} ncp.1 npush.1 ${PREFIX}/man/man1
-	${LN} -s ${PREFIX}/bin/ncp ${PREFIX}/bin/npush
-	${LN} -s ${PREFIX}/bin/ncp ${PREFIX}/bin/npoll
+	${INSTALL_PROGRAM} ${WRKSRC}/ncp ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/ncp.1 ${WRKSRC}/npush.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1
+	${LN} -s ncp ${STAGEDIR}${PREFIX}/bin/npush
+	${LN} -s ncp ${STAGEDIR}${PREFIX}/bin/npoll
 
 .include <bsd.port.mk>



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