mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Convert to new options framework
This commit is contained in:
parent
e777d0d7d7
commit
c7af534ecb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298959
@ -14,14 +14,15 @@ MASTER_SITES= http://ivo.palli.nl/prog/linux/htdump/bin/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A tool to retrieve WWW data
|
||||
|
||||
OPTIONS= SSL "SSL support" on
|
||||
OPTIONS_DEFINE= SSL
|
||||
OPTIONS_DEFAULT=SSL
|
||||
|
||||
CFLAGS+= ${CPPFLAGS}
|
||||
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LFLAGS="-s ${LDFLAGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_SSL)
|
||||
.if ${PORT_OPTIONS:MSSL}
|
||||
USE_OPENSSL= yes
|
||||
ALL_TARGET= ssl
|
||||
.endif
|
||||
@ -31,4 +32,4 @@ PLIST_FILES= bin/htdump
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/htdump ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user