1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Remove NOPORT* from archivers. The only holdouts here are ruby@ now.

This commit is contained in:
Adam Weinberger 2014-01-03 14:42:07 +00:00
parent b1a67a2144
commit db0cfbb235
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338542
11 changed files with 28 additions and 12 deletions

View File

@ -24,6 +24,7 @@ MLINKS= bzip2.1 bunzip2.1 bzip2.1 bzcat.1 bzip2.1 bz2cat.1 \
.error You have `USE_BZIP2' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bzip2 ${PREFIX}/bin
${LN} -sf ${PREFIX}/bin/bzip2 ${PREFIX}/bin/bunzip2
@ -42,7 +43,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/bzip2.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/bzgrep.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/bzmore.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/share/doc/bzip2
${INSTALL_DATA} ${WRKSRC}/manual* ${PREFIX}/share/doc/bzip2
${INSTALL_DATA} ${WRKSRC}/bzip2.txt ${PREFIX}/share/doc/bzip2

View File

@ -23,6 +23,7 @@ MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
MAN1= dact.1
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|prefix = @prefix@|prefix = ${PREFIX}|" \
-e "s|libdir = @libdir@|libdir = ${PREFIX}/lib|" \
@ -32,11 +33,11 @@ pre-install:
@${RM} -f ${WRKSRC}/libdact.a
post-install:
.if !defined(NOPORTEXAMPLES)
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
${CP} -n ${WRKSRC}/dact.conf ${EXAMPLESDIR} || ${TRUE}
.endif
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Docs/dact.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}

View File

@ -20,6 +20,8 @@ MAN6= ${PORTNAME}.6
PLIST_FILES= bin/deusf bin/deutex
PORTDOCS= *
.include <bsd.port.options.mk>
post-extract:
@${REINPLACE_CMD} -e 's,-mkdir,mkdir -p,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,malloc\.h,stdlib.h,' ${WRKSRC}/src/tools.c
@ -29,7 +31,7 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/deusf ${WRKSRC}/deutex ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/TODO ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/dtexman6.txt ${DOCSDIR}/MANUAL

View File

@ -20,8 +20,10 @@ MAN1= freeze.1 melt.1 unfreeze.1 fcat.1 statist.1
PLIST_FILES= bin/fcat bin/freeze bin/melt bin/statist bin/unfreeze
PORTDOCS= README
.include <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

View File

@ -24,11 +24,13 @@ PORTDOCS= api LICENSE License.html readme.html tarman.html
JARFILES= tar.jar
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
.include <bsd.port.options.mk>
do-install:
@${ECHO_MSG} -n ">> Install JAR file in ${JAVAJARDIR}..."
@${INSTALL_DATA} ${WRKSRC}/jars/tar.jar ${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc && ${FIND} ${PORTDOCS} \

View File

@ -20,10 +20,12 @@ MAN1= lbrate.1
PORTDOCS= ChangeLog README TODO
PLIST_FILES= bin/lbrate
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lbrate ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lbrate.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif

View File

@ -23,6 +23,8 @@ DOCFILES= README.crc README.hexbin README.macput README.unpit \
README.zoom README.crc.orig README.macget README.scan \
README.unsit ../README
.include <bsd.port.options.mk>
# The distribution has a naff install target which doesn't install man
# pages so here is a decent one.
#
@ -44,7 +46,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/man/tomac.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/frommac.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/macutil.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} "===> Installing supplementary documents..."
@${MKDIR} ${DOCSDIR}
.for file in ${DOCFILES}

View File

@ -27,7 +27,7 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR})

View File

@ -44,7 +44,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/default.sfx ${PREFIX}/lib
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}

View File

@ -21,8 +21,10 @@ WRKSRC= ${WRKDIR}/ext
DOCS= README.txt doc
.include <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${RUBY_MODDOCDIR}
cd ${WRKDIR}; ${COPYTREE_SHARE} "${DOCS}" ${RUBY_MODDOCDIR}/
.endif

View File

@ -23,7 +23,9 @@ PORTDOCS= README
run-autotools:: run-autotools-aclocal run-autotools-autoheader \
run-autotools-autoconf run-autotools-automake
.if !defined(NOPORTDOCS)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
pre-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README