Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2014 17:07:46 +0000 (UTC)
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357796 - head/sysutils/pax-utils
Message-ID:  <201406141707.s5EH7kBZ078552@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbz
Date: Sat Jun 14 17:07:45 2014
New Revision: 357796
URL: http://svnweb.freebsd.org/changeset/ports/357796
QAT: https://qat.redports.org/buildarchive/r357796/

Log:
  - Support STAGEDIR

Modified:
  head/sysutils/pax-utils/Makefile

Modified: head/sysutils/pax-utils/Makefile
==============================================================================
--- head/sysutils/pax-utils/Makefile	Sat Jun 14 16:56:58 2014	(r357795)
+++ head/sysutils/pax-utils/Makefile	Sat Jun 14 17:07:45 2014	(r357796)
@@ -4,10 +4,8 @@
 PORTNAME=	pax-utils
 PORTVERSION=	0.7
 CATEGORIES=	sysutils
-MASTER_SITES=	${MASTER_SITE_GENTOO} \
-		http://dev.gentoo.org/~vapier/dist/ \
-		LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/}
-MASTER_SITE_SUBDIR=	distfiles
+MASTER_SITES=	http://dev.gentoo.org/~vapier/dist/ \
+		LOCAL/sbz
 
 MAINTAINER=	sbz@FreeBSD.org
 COMMENT=	Various ELF related utils for ELF32, ELF64 binaries
@@ -16,29 +14,24 @@ LICENSE=	GPLv2
 
 USES=		gmake tar:xz
 
-PLIST_FILES=	bin/dumpelf bin/pspax bin/scanelf bin/scanmacho
-
-MAN1=		dumpelf.1 pspax.1 scanelf.1 scanmacho.1
+PLIST_FILES=	bin/dumpelf bin/pspax bin/scanelf bin/scanmacho \
+		man/man1/dumpelf.1.gz man/man1/pspax.1.gz \
+		man/man1/scanelf.1.gz man/man1/scanmacho.1.gz
+PORTDOCS=	BUGS README TODO
 
 OPTIONS_DEFINE=	DOCS
 
-PORTDOCS=	BUGS README TODO
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} < 800076
-BROKEN=	Does not build
-.endif
-
 do-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
-.for f in ${MAN1:S,.1,,}
-	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+
+.for f in dumpelf pspax scanelf scanmacho
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/${f}.1 ${STAGEDIR}${PREFIX}/man/man1
 .endfor
-	${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/man/,} ${PREFIX}/man/man1
 
 .include <bsd.port.mk>



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