Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 15:12:47 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339250 - head/sysutils/bsdinfo
Message-ID:  <201401091512.s09FClkU088733@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan  9 15:12:47 2014
New Revision: 339250
URL: http://svnweb.freebsd.org/changeset/ports/339250

Log:
  Support stage,
  Use options helpers
  Respect prefix

Modified:
  head/sysutils/bsdinfo/Makefile

Modified: head/sysutils/bsdinfo/Makefile
==============================================================================
--- head/sysutils/bsdinfo/Makefile	Thu Jan  9 15:02:45 2014	(r339249)
+++ head/sysutils/bsdinfo/Makefile	Thu Jan  9 15:12:47 2014	(r339250)
@@ -7,20 +7,17 @@ CATEGORIES=	sysutils
 MASTER_SITES=	http://cloud.github.com/downloads/samupl/bsdinfo/
 
 MAINTAINER=	s@samu.pl
-COMMENT=	A simple utility to display system-based information
+COMMENT=	Simple utility to display system-based information
 
 GNU_CONFIGURE=	yes
 
 OPTIONS_DEFINE=	X256
 X256_DESC=	Build the 256 color version
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MX256}
-CONFIGURE_ARGS+=--x256
-.endif
+X256_CONFIGURE_ON=	--x256
 
 PLIST_FILES+=	bin/bsdinfo
 
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bsdinfo ${STAGEDIR}${PREFIX}/bin
+
 .include <bsd.port.mk>



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