svn commit: r339250 - head/sysutils/bsdinfo

Baptiste Daroussin bapt at FreeBSD.org
Thu Jan 9 15:12:48 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list