Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 21:13:49 +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: r331324 - in head/archivers: tardy unlzx unmass unzoo
Message-ID:  <201310222113.r9MLDnA8051831@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Oct 22 21:13:49 2013
New Revision: 331324
URL: http://svnweb.freebsd.org/changeset/ports/331324

Log:
  Support staging

Modified:
  head/archivers/tardy/Makefile
  head/archivers/unlzx/Makefile
  head/archivers/unmass/Makefile
  head/archivers/unzoo/Makefile

Modified: head/archivers/tardy/Makefile
==============================================================================
--- head/archivers/tardy/Makefile	Tue Oct 22 20:59:23 2013	(r331323)
+++ head/archivers/tardy/Makefile	Tue Oct 22 21:13:49 2013	(r331324)
@@ -17,7 +17,6 @@ BUILD_DEPENDS=	${LOCALBASE}/include/boos
 		${LOCALBASE}/include/libiberty/libiberty.h:${PORTSDIR}/devel/gnulibiberty
 LIB_DEPENDS=	explain:${PORTSDIR}/devel/libexplain
 
-NO_STAGE=	yes
 GNU_CONFIGURE=	yes
 
 MAKE_JOBS_UNSAFE=	yes
@@ -25,8 +24,7 @@ MAKE_JOBS_UNSAFE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN1=		tardy.1
-PLIST_FILES=	bin/tardy
+PLIST_FILES=	bin/tardy man/man1/tardy.1.gz
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
@@ -44,7 +42,8 @@ post-patch:
 .endfor
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/man/man1/${MAN1} ${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.post.mk>

Modified: head/archivers/unlzx/Makefile
==============================================================================
--- head/archivers/unlzx/Makefile	Tue Oct 22 20:59:23 2013	(r331323)
+++ head/archivers/unlzx/Makefile	Tue Oct 22 21:13:49 2013	(r331324)
@@ -11,7 +11,6 @@ EXTRACT_SUFX=	.gz
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Extracts .lzx archives from Amiga systems
 
-NO_STAGE=	yes
 PLIST_FILES=	bin/unlzx
 
 do-extract:
@@ -22,6 +21,6 @@ do-build:
 	${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/archivers/unmass/Makefile
==============================================================================
--- head/archivers/unmass/Makefile	Tue Oct 22 20:59:23 2013	(r331323)
+++ head/archivers/unmass/Makefile	Tue Oct 22 21:13:49 2013	(r331324)
@@ -12,7 +12,6 @@ COMMENT=	Extract game archives such as w
 
 LICENSE=	GPLv2
 
-NO_STAGE=	yes
 USES=		gmake
 GNU_CONFIGURE=	yes
 USE_DOS2UNIX=	yes
@@ -28,6 +27,6 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}_kdev \
-		${PREFIX}/bin/${PORTNAME}
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>

Modified: head/archivers/unzoo/Makefile
==============================================================================
--- head/archivers/unzoo/Makefile	Tue Oct 22 20:59:23 2013	(r331323)
+++ head/archivers/unzoo/Makefile	Tue Oct 22 21:13:49 2013	(r331324)
@@ -17,9 +17,7 @@ COMMENT=	ZOO archive extractor
 
 EXTRA_DEFINES=	-DSYS_IS_UNIX -DSYS_HAS_MKDIR
 
-NO_STAGE=	yes
-MAN1=		unzoo.1
-PLIST_FILES=	bin/unzoo
+PLIST_FILES=	bin/unzoo man/man1/unzoo.1.gz
 
 CFLAGS+=	-trigraphs
 
@@ -32,7 +30,8 @@ do-build:
 		${WRKSRC}/${PORTNAME}.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 \
+		${STAGEDIR}${MAN1PREFIX}/man/man1
 
 .include <bsd.port.mk>



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