mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Switch to options helpers
- Pet portlint Approved by: portmgr blanket
This commit is contained in:
parent
f42f6951bd
commit
11951e2ae9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397669
@ -14,23 +14,17 @@ COMMENT= Graphical tool for solving differential equations, etc
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_XORG= xbitmaps x11 xproto
|
||||
USE_XORG= x11 xbitmaps xproto
|
||||
CFLAGS+= -w -Wno-return-type
|
||||
WRKSRC= ${WRKDIR}
|
||||
ALL_TARGET= xppaut
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
DOCS_MAKE_ENV_OFF= NOPORTDOCS=yes
|
||||
EXAMPLES_MAKE_ENV_OFF= NOPORTEXAMPLES=yes
|
||||
|
||||
post-build:
|
||||
${RM} -f ${WRKSRC}/ode/._*
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !${PORT_OPTIONS:MDOCS}
|
||||
MAKE_ENV+= NOPORTDOCS=yes
|
||||
.endif
|
||||
.if !${PORT_OPTIONS:MEXAMPLES}
|
||||
MAKE_ENV+= NOPORTEXAMPLES=yes
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user