mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Support stage,
Use options helpers Respect prefix
This commit is contained in:
parent
4a1143385d
commit
77cac5af3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339250
1 changed files with 5 additions and 8 deletions
|
@ -7,20 +7,17 @@ CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://cloud.github.com/downloads/samupl/bsdinfo/
|
MASTER_SITES= http://cloud.github.com/downloads/samupl/bsdinfo/
|
||||||
|
|
||||||
MAINTAINER= s@samu.pl
|
MAINTAINER= s@samu.pl
|
||||||
COMMENT= A simple utility to display system-based information
|
COMMENT= Simple utility to display system-based information
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
OPTIONS_DEFINE= X256
|
OPTIONS_DEFINE= X256
|
||||||
X256_DESC= Build the 256 color version
|
X256_DESC= Build the 256 color version
|
||||||
|
X256_CONFIGURE_ON= --x256
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MX256}
|
|
||||||
CONFIGURE_ARGS+=--x256
|
|
||||||
.endif
|
|
||||||
|
|
||||||
PLIST_FILES+= bin/bsdinfo
|
PLIST_FILES+= bin/bsdinfo
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/bsdinfo ${STAGEDIR}${PREFIX}/bin
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue