Support stage,

Use options helpers
Respect prefix
This commit is contained in:
Baptiste Daroussin 2014-01-09 15:12:47 +00:00
parent 4a1143385d
commit 77cac5af3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339250

View file

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