mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Remove NOPORTDOCS and NOPORTEXAMPLES from unstaged ports. Stage a couple while
we're here. Remove any other references to NOPORT*. Approved by: portmgr (blanket for modernization)
This commit is contained in:
parent
ea1babb4f7
commit
0921d535b3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360706
@ -16,7 +16,12 @@ SUB_FILES= pkg-message
|
||||
|
||||
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS TODO
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/main.c \
|
||||
${WRKSRC}/INSTALL ${WRKSRC}/README ${WRKSRC}/checkdns.conf-dist
|
||||
@ -27,7 +32,7 @@ post-install:
|
||||
${CP} -p ${PREFIX}/etc/checkdns.conf-dist ${PREFIX}/etc/checkdns.conf ; \
|
||||
fi
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
||||
|
@ -17,7 +17,12 @@ LDFLAGS+= -L${PREFIX}/lib
|
||||
|
||||
DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${CP} ${FILESDIR}/dhisd.sh ${WRKSRC}/dhisd.sh
|
||||
cd ${WRKSRC} && ${REINPLACE_CMD} -e "s^__PREFIX__^${PREFIX}^g" \
|
||||
@ -46,7 +51,7 @@ post-install:
|
||||
@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/dhisd.sh ${PREFIX}/etc/rc.d/dhisd.sh
|
||||
@${ECHO_CMD} "etc/rc.d/dhisd.sh" >> ${TMPPLIST}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${ECHO_MSG} "===> Installing documentation in ${DOCSDIR}"
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${CHMOD} 755 ${DOCSDIR}
|
||||
@ -63,7 +68,7 @@ post-install:
|
||||
@${ECHO} ""
|
||||
@${ECHO} "For more information, see the following site:"
|
||||
@${ECHO} "http://www.dhis.org/dhis/r5/"
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${ECHO} ""
|
||||
@${ECHO} "or the files in ${DOCSDIR}"
|
||||
@${ECHO} "Read INSTALL and INSTALL.bsd at least for the setup information of dhisd."
|
||||
|
@ -18,6 +18,9 @@ CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
NO_STAGE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
|
||||
CONFIGURE_ARGS= --enable-fam
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/fam.h:${PORTSDIR}/devel/fam
|
||||
@ -34,7 +37,7 @@ MAN1= getzone.1 posadis.1 posadis-getroots.1 posask.1 poshost.1
|
||||
MAN5= posadisrc.5
|
||||
DOCS= AUTHORS ChangeLog README TODO
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user