- Convert to OptionsNG
Approved by: portmgr (blanket)
This commit is contained in:
parent
20963ee72d
commit
f8ed265db4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354879
@ -30,11 +30,12 @@ SPEC_ROOT?= ${PREFIX}/${PORTNAME}
|
||||
|
||||
DOCSDIR= ${SPEC_ROOT}/documents
|
||||
|
||||
OPTIONS= RESERVED_PORT "Use privileged ports when doing NFS testing" on
|
||||
OPTIONS_DEFINE= RESERVED_PORT
|
||||
OPTIONS_DEFAULT= RESERVED_PORT
|
||||
|
||||
.if defined(WITH_RESERVED_PORT)
|
||||
CFLAGS+= -DRESVPORT
|
||||
.endif
|
||||
RESERVED_PORT_DESC= Use privileged ports when doing NFS testing
|
||||
|
||||
RESERVED_PORT_CFLAGS= -DRESVPORT
|
||||
|
||||
# Substitutions for pkg-plist
|
||||
PLIST_SUB+= SPEC_ROOT=${SPEC_ROOT}
|
||||
|
@ -11,7 +11,7 @@ COMMENT= A fast, simple, and transactional Java persistence engine
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
OPTIONS= DOCS EXAMPLES
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
USES= zip
|
||||
USE_JAVA= yes
|
||||
|
@ -22,7 +22,7 @@ RUN_DEPENDS= ${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle \
|
||||
${JAVAJARDIR}/dom4j.jar:${PORTSDIR}/textproc/dom4j \
|
||||
${JAVAJARDIR}/pdf-renderer.jar:${PORTSDIR}/print/pdf-renderer
|
||||
|
||||
OPTIONS= DOCS
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
USES= tar:bzip2
|
||||
USE_JAVA= yes
|
||||
|
@ -19,7 +19,7 @@ USE_XORG= x11 xext xi xmu
|
||||
USE_GL= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS= DOCS
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -68,11 +68,11 @@ do-install:
|
||||
# Maintainer section
|
||||
create-plist: build
|
||||
:>${PLIST}
|
||||
.for theme in ${OPTIONS:M*_THEME:S/_THEME//:O}
|
||||
.for theme in ${OPTIONS_DEFINE:M*_THEME:S/_THEME//:O}
|
||||
${FIND} -s ${WRKSRC}/${theme} -type f -or -type l | \
|
||||
${SED} -e 's#^${WRKSRC}/${theme}#%%${theme:tu}%%#' >> ${PLIST}
|
||||
.endfor
|
||||
.for theme in ${OPTIONS:M*_THEME:S/_THEME//:O}
|
||||
.for theme in ${OPTIONS_DEFINE:M*_THEME:S/_THEME//:O}
|
||||
${FIND} -ds ${WRKSRC}/${theme} -type d | \
|
||||
${SED} -e 's#^${WRKSRC}/${theme}#%%D${theme:tu}%%#' >> ${PLIST}
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user