Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 02:56:02 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340010 - head/editors/heme
Message-ID:  <201401170256.s0H2u268037520@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Jan 17 02:56:01 2014
New Revision: 340010
URL: http://svnweb.freebsd.org/changeset/ports/340010
QAT: https://qat.redports.org/buildarchive/r340010/

Log:
  Stagify; while using ${STAGEDIR} in INSTALL_PREFIX looks suspicious, it
  is actually okay here, since this value is not referenced in the source
  code itself yet simplifies things for us (no patches needed).

Modified:
  head/editors/heme/Makefile

Modified: head/editors/heme/Makefile
==============================================================================
--- head/editors/heme/Makefile	Fri Jan 17 02:39:23 2014	(r340009)
+++ head/editors/heme/Makefile	Fri Jan 17 02:56:01 2014	(r340010)
@@ -12,21 +12,16 @@ COMMENT=	Small and fast console hex edit
 LICENSE=	GPLv2
 
 ALL_TARGET=	${PORTNAME}
-MAKE_ARGS=	CFLAGS="${CFLAGS} -Wall -DHAVE_MMAP" INSTALL_PREFIX="${PREFIX}"
+MAKE_ARGS=	CFLAGS="${CFLAGS} -Wall -DHAVE_MMAP" \
+		INSTALL_PREFIX="${STAGEDIR}${PREFIX}"
 
-PLIST_FILES=	bin/${PORTNAME}
-MAN1=		${PORTNAME}.1
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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