Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 13:11:55 +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: r349335 - head/sysutils/915resolution
Message-ID:  <201403271311.s2RDBtjV087763@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 27 13:11:55 2014
New Revision: 349335
URL: http://svnweb.freebsd.org/changeset/ports/349335
QAT: https://qat.redports.org/buildarchive/r349335/

Log:
  Support staging

Modified:
  head/sysutils/915resolution/Makefile

Modified: head/sysutils/915resolution/Makefile
==============================================================================
--- head/sysutils/915resolution/Makefile	Thu Mar 27 12:53:49 2014	(r349334)
+++ head/sysutils/915resolution/Makefile	Thu Mar 27 13:11:55 2014	(r349335)
@@ -6,7 +6,7 @@ PORTVERSION=	0.5.3
 PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	sysutils
-MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITES=	LOCAL
 MASTER_SITE_SUBDIR=	ehaupt
 
 MAINTAINER=	ports@FreeBSD.org
@@ -15,23 +15,18 @@ COMMENT=	Resolution tool for Intel i915 
 USE_RC_SUBR=	915resolution
 
 PLIST_FILES=	sbin/915resolution
-OPTIONS_DEFINE=	DOCS
 PORTDOCS=	README.txt LICENSE.txt chipset_info.txt changes.log
 
+OPTIONS_DEFINE=	DOCS
+
 ONLY_FOR_ARCHS=	i386 amd64
 
-NO_STAGE=	yes
 do-build:
-	cd ${WRKSRC} && \
-		${CC} ${CFLAGS} 915resolution.c -o 915resolution
-
-.include <bsd.port.options.mk>
+	${CC} ${CFLAGS} ${WRKSRC}/915resolution.c -o ${WRKSRC}/915resolution
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${PREFIX}/sbin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/915resolution ${STAGEDIR}${PREFIX}/sbin
+	@${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?201403271311.s2RDBtjV087763>