mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
- Switch to options helpers
This commit is contained in:
parent
f206b10c31
commit
24a9ca09c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398390
@ -25,14 +25,12 @@ MIMEFILE?= ${LOCALBASE}/etc/mime.types
|
||||
|
||||
USE_RC_SUBR= webfsd
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/GNUmakefile
|
||||
@${REINPLACE_CMD} -e 's|/etc/mime.types|${MIMEFILE}|' ${WRKSRC}/webfsd.man
|
||||
.if empty(PORT_OPTIONS:MOPENSSL)
|
||||
|
||||
post-patch-OPENSSL-off:
|
||||
@${REINPLACE_CMD} -e '/^USE_SSL.*:=/s/:=.*/:= no/' ${WRKSRC}/GNUmakefile
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/webfsd ${STAGEDIR}${PREFIX}/sbin
|
||||
|
Loading…
x
Reference in New Issue
Block a user