aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdinfo
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 15:12:47 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-09 15:12:47 +0000
commit77cac5af3e910b381e9090207d82b51feb53c2d6 (patch)
treec5385b05012afc79e5e744d714d42849599f5620 /sysutils/bsdinfo
parent4a1143385d61fe308aa81494f76ada1fdbb78209 (diff)
downloadports-77cac5af3e910b381e9090207d82b51feb53c2d6.tar.gz
ports-77cac5af3e910b381e9090207d82b51feb53c2d6.zip
Support stage,
Use options helpers Respect prefix
Notes
Notes: svn path=/head/; revision=339250
Diffstat (limited to 'sysutils/bsdinfo')
-rw-r--r--sysutils/bsdinfo/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/sysutils/bsdinfo/Makefile b/sysutils/bsdinfo/Makefile
index ce0bbc863671..6144eba11b66 100644
--- a/sysutils/bsdinfo/Makefile
+++ b/sysutils/bsdinfo/Makefile
@@ -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>