aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:47:05 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-16 03:47:05 +0000
commitcff70035fd060f10d943334943e082cee0c4be95 (patch)
tree2e7984908a35aa8f2fe08ea2a523a09ff9e3db25 /archivers
parente894c29ad5fd45176ff40a63376707531adddba3 (diff)
downloadports-cff70035fd060f10d943334943e082cee0c4be95.tar.gz
ports-cff70035fd060f10d943334943e082cee0c4be95.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/deutex/Makefile2
-rw-r--r--archivers/lbrate/Makefile2
-rw-r--r--archivers/lbzip2/Makefile2
-rw-r--r--archivers/linux-f10-ucl/Makefile2
-rw-r--r--archivers/lzma/Makefile2
-rw-r--r--archivers/mtf/Makefile2
-rw-r--r--archivers/par2cmdline-tbb/Makefile2
-rw-r--r--archivers/par2cmdline/Makefile2
-rw-r--r--archivers/torrentzip/Makefile2
-rw-r--r--archivers/upx/Makefile2
10 files changed, 20 insertions, 0 deletions
diff --git a/archivers/deutex/Makefile b/archivers/deutex/Makefile
index 5d8cca6afd6d..0caa9ff5cbb1 100644
--- a/archivers/deutex/Makefile
+++ b/archivers/deutex/Makefile
@@ -19,6 +19,8 @@ PLIST_FILES= bin/deusf bin/deutex \
man/man6/${PORTNAME}.6.gz
PORTDOCS= *
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${REINPLACE_CMD} -e 's,-mkdir,mkdir -p,' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's,malloc\.h,stdlib.h,' ${WRKSRC}/src/tools.c
diff --git a/archivers/lbrate/Makefile b/archivers/lbrate/Makefile
index 099362f8a608..c99e0baceb64 100644
--- a/archivers/lbrate/Makefile
+++ b/archivers/lbrate/Makefile
@@ -19,6 +19,8 @@ PORTDOCS= ChangeLog README TODO
PLIST_FILES= bin/lbrate \
man/man1/lbrate.1.gz
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lbrate ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lbrate.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
diff --git a/archivers/lbzip2/Makefile b/archivers/lbzip2/Makefile
index b125ab789c61..c3afd33c4385 100644
--- a/archivers/lbzip2/Makefile
+++ b/archivers/lbzip2/Makefile
@@ -15,6 +15,8 @@ PLIST_FILES= bin/lbzip2 \
PORTDOCS= ChangeLog README
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lbzip2 ${STAGEDIR}${PREFIX}/bin/lbzip2
${INSTALL_MAN} ${WRKSRC}/lbzip2.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
diff --git a/archivers/linux-f10-ucl/Makefile b/archivers/linux-f10-ucl/Makefile
index f229af6e485e..8afeed7307ea 100644
--- a/archivers/linux-f10-ucl/Makefile
+++ b/archivers/linux-f10-ucl/Makefile
@@ -23,4 +23,6 @@ DOCSDIR= ${PREFIX}/usr/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= COPYING NEWS README THANKS TODO
DESCR= ${.CURDIR}/../${PORTNAME}/pkg-descr
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.mk>
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile
index 7dbc3c1a1db8..02f6c2e1f24f 100644
--- a/archivers/lzma/Makefile
+++ b/archivers/lzma/Makefile
@@ -28,6 +28,8 @@ CFLAGS+= -D_LZMA_SIZE_OPT
.endif
PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
${WRKSRC}/CPP/7zip/Common/FileStreams.h
diff --git a/archivers/mtf/Makefile b/archivers/mtf/Makefile
index af09e3d6d0c8..7727c68e5c49 100644
--- a/archivers/mtf/Makefile
+++ b/archivers/mtf/Makefile
@@ -19,6 +19,8 @@ PLIST_FILES= bin/mtf
PORTDOCS= README
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtf ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/archivers/par2cmdline-tbb/Makefile b/archivers/par2cmdline-tbb/Makefile
index 2cce2e611a4b..cf97e7924325 100644
--- a/archivers/par2cmdline-tbb/Makefile
+++ b/archivers/par2cmdline-tbb/Makefile
@@ -27,6 +27,8 @@ CONFLICTS= par2cmdline-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${CHMOD} u+x ${WRKSRC}/install-sh
diff --git a/archivers/par2cmdline/Makefile b/archivers/par2cmdline/Makefile
index 805cf301d4bb..088c2d22f906 100644
--- a/archivers/par2cmdline/Makefile
+++ b/archivers/par2cmdline/Makefile
@@ -19,6 +19,8 @@ CONFLICTS= par2cmdline-tbb-[0-9]*
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify
+OPTIONS_DEFINE= DOCS
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
diff --git a/archivers/torrentzip/Makefile b/archivers/torrentzip/Makefile
index 40cf8cc68702..5381c5a5b62f 100644
--- a/archivers/torrentzip/Makefile
+++ b/archivers/torrentzip/Makefile
@@ -22,6 +22,8 @@ PORTDOCS= README
run-autotools:: run-autotools-aclocal run-autotools-autoheader \
run-autotools-autoconf run-autotools-automake
+OPTIONS_DEFINE= DOCS
+
pre-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile
index f7bd520d98c4..476f3e7be421 100644
--- a/archivers/upx/Makefile
+++ b/archivers/upx/Makefile
@@ -28,6 +28,8 @@ PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\
PLIST_FILES= bin/upx \
man/man1/upx.1.gz
+OPTIONS_DEFINE= DOCS
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx
@${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${MANPREFIX}/man/man1