1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.

This commit is contained in:
Adam Weinberger 2014-07-15 17:03:31 +00:00
parent 16682f7476
commit 6d32175bb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361979
6 changed files with 10 additions and 3 deletions

View File

@ -27,6 +27,8 @@ PLIST_DIRS+= ${LISPDIR}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PORTDOCS+= README AUTHORS NEWS COPYING TODO
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${EMACS_NAME} == "xemacs"

View File

@ -20,6 +20,8 @@ LIBS+= -L${LOCALBASE}/lib -lintl
DOCS= NEWS README
EXAMPLES= aspell.sl
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:

View File

@ -28,7 +28,7 @@ LATEST_LINK= sphinxsearch-devel
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
OPTIONS_DEFINE= ICONV ID64 LIBSTEMMER MYSQL OPTIMIZED_CFLAGS PGSQL \
SYSLOG UNIXODBC
SYSLOG UNIXODBC DOCS EXAMPLES
OPTIONS_DEFAULT=ICONV MYSQL SYSLOG
ICONV_CONFIGURE_WITH= iconv

View File

@ -23,6 +23,8 @@ SHLIB_VER_MAJ= 1
PLIST_SUB= SHLIB_VER=${SHLIB_VER} SHLIB_VER_MAJ=${SHLIB_VER_MAJ}
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-extract:
@ -32,7 +34,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|' \
-e 's|DATADIR =.*|DATADIR = ${DOCSDIR}|' \
${WRKSRC}/Makefile.in
.if defined(PORT_OPTIONS:MDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|mkdir -p $$(DESTDIR)$$(DATADIR)||' \
-e 's|cp -Rf $$(DOCUMENTFILES) $$(DESTDIR)$$(DATADIR)||' \
${WRKSRC}/Makefile.in

View File

@ -16,7 +16,7 @@ CONFLICTS= xerces_c2-[0-9]* xerces-c3-[0-9]*
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= THREADS DEBUG ICONVFBSD ICU NATIVE
OPTIONS_DEFINE= THREADS DEBUG ICONVFBSD ICU NATIVE EXAMPLES DOCS
OPTIONS_DEFAULT= THREADS ICONVFBSD
THREADS_DESC= Build a thread enabled shared library

View File

@ -31,6 +31,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
OPTIONS_GROUP= BACKEND
OPTIONS_GROUP_BACKEND= DBLATEX FOP PASSIVETEX
BACKEND_DESC= Postprocessor backends to enable