- Use OPTIONS_SINGLE

PR:		ports/176257
Submitted by:	Jed Clear <jclear at speakeasy.net>
Reviewed by:	jgh
This commit is contained in:
Sofian Brabez 2013-03-15 08:33:39 +00:00
parent 0f3653f9ca
commit 8d2859bce0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314279

View file

@ -21,8 +21,8 @@ GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= CLIENT SERVER
OPTIONS_DEFAULT= CLIENT SERVER
OPTIONS_SINGLE= SG1
OPTIONS_SINGLE_SG1= CLIENT SERVER
.include <bsd.port.options.mk>
@ -41,11 +41,6 @@ MAN1+= knock.1
PLIST_FILES+= bin/knock
.endif
pre-configure:
.if ${PORT_OPTIONS:MSERVER} && ${PORT_OPTIONS:MCLIENT}
IGNORE= at least one component must be selected for installation
.endif
post-patch:
@${REINPLACE_CMD} -e "s#%%PREFIX%%#${PREFIX}#g" \
-e "s#eth0#fxp0#g" \