diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-16 07:30:05 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-16 07:30:05 +0800 |
commit | 664628fe1271a3052d6fd5d6f32b5de28a849018 (patch) | |
tree | e962c6543fdab0f842a6d242127e735d0347e99c /graphics | |
parent | 9343eeba7783ac2ce4c8f5c88ab322647d489c19 (diff) | |
download | freebsd-ports-gnome-664628fe1271a3052d6fd5d6f32b5de28a849018.tar.gz freebsd-ports-gnome-664628fe1271a3052d6fd5d6f32b5de28a849018.tar.zst freebsd-ports-gnome-664628fe1271a3052d6fd5d6f32b5de28a849018.zip |
Add DOCS to OPTIONS for ports that have PORTDOCS in the plist.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/exiftags/Makefile | 2 | ||||
-rw-r--r-- | graphics/feh/Makefile | 2 | ||||
-rw-r--r-- | graphics/fotoxx/Makefile | 2 | ||||
-rw-r--r-- | graphics/gracula/Makefile | 2 | ||||
-rw-r--r-- | graphics/luminance-qt5/Makefile | 2 | ||||
-rw-r--r-- | graphics/luminance/Makefile | 2 | ||||
-rw-r--r-- | graphics/ogre3d/Makefile | 2 | ||||
-rw-r--r-- | graphics/py-exif/Makefile | 2 | ||||
-rw-r--r-- | graphics/py-stltools/Makefile | 2 | ||||
-rw-r--r-- | graphics/ruby-image_size/Makefile | 2 | ||||
-rw-r--r-- | graphics/ruby-ming/Makefile | 2 | ||||
-rw-r--r-- | graphics/vigra/Makefile | 2 | ||||
-rw-r--r-- | graphics/xournal/Makefile | 2 | ||||
-rw-r--r-- | graphics/xwpick/Makefile | 10 | ||||
-rw-r--r-- | graphics/zgv/Makefile | 2 |
15 files changed, 28 insertions, 10 deletions
diff --git a/graphics/exiftags/Makefile b/graphics/exiftags/Makefile index 33d794c7b4f5..0fd8215c8c30 100644 --- a/graphics/exiftags/Makefile +++ b/graphics/exiftags/Makefile @@ -13,6 +13,8 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" PREFIX="${PREFIX}" DOCS= CHANGES README +OPTIONS_DEFINE= DOCS + do-install: .for i in exifcom exiftags exiftime ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile index 71759761eff2..23e41c7c1a38 100644 --- a/graphics/feh/Makefile +++ b/graphics/feh/Makefile @@ -24,7 +24,7 @@ CPPFLAGS+= -I${LOCALBASE}/include -std=c99 LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV+= LDFLAGS="${LDFLAGS}" -OPTIONS_DEFINE= CAM +OPTIONS_DEFINE= CAM DOCS CAM_DESC= Install feh-cam and related tools OPTIONS_DEFAULT=CAM diff --git a/graphics/fotoxx/Makefile b/graphics/fotoxx/Makefile index 4f7587b0e46e..9bc46f665a60 100644 --- a/graphics/fotoxx/Makefile +++ b/graphics/fotoxx/Makefile @@ -26,6 +26,8 @@ INSTALL_TARGET= install MANDIR=${PREFIX}/man/man1/ LDFLAGS+= -O3 -g -Wall -rdynamic -lexecinfo +OPTIONS_DEFINE= DOCS + post-patch: @# drop xdg-desktop-menu calls, they fail ${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ diff --git a/graphics/gracula/Makefile b/graphics/gracula/Makefile index de5f75276c7e..7c7e6ba8223d 100644 --- a/graphics/gracula/Makefile +++ b/graphics/gracula/Makefile @@ -13,6 +13,8 @@ COMMENT= Graphic Counter Language compiler/interpreter SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gracula ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/sec2000 ${STAGEDIR}${PREFIX}/bin diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index 14dfb225738e..cc21ac2feba5 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -28,6 +28,8 @@ INSTALLS_ICONS= yes MAKE_JOBS_UNSAFE=yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${OSVERSION} < 1000024 diff --git a/graphics/luminance/Makefile b/graphics/luminance/Makefile index b044186986b4..92ccd9b6dc59 100644 --- a/graphics/luminance/Makefile +++ b/graphics/luminance/Makefile @@ -26,6 +26,8 @@ USE_QT4= gui sql webkit xml linguist_build moc_build qmake_build \ rcc_build uic_build imageformats_run INSTALLS_ICONS= yes +OPTIONS_DEFINE= DOCS + post-patch: # Do not install yet another copy of GPL (we use license framework instead) # and fix installation path for docs (but not for internal help files) diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile index 1200dd41eec8..ca87f05d70a5 100644 --- a/graphics/ogre3d/Makefile +++ b/graphics/ogre3d/Makefile @@ -16,7 +16,7 @@ LIB_DEPENDS= libzzip.so:${PORTSDIR}/devel/zziplib \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libfreeimage.so:${PORTSDIR}/graphics/freeimage -OPTIONS_DEFINE= BOOST +OPTIONS_DEFINE= BOOST DOCS USE_LDCONFIG= yes USES= tar:bzip2 cmake pkgconfig compiler:c++11-lib diff --git a/graphics/py-exif/Makefile b/graphics/py-exif/Makefile index 2ad409e5f23f..c280ef2cdf23 100644 --- a/graphics/py-exif/Makefile +++ b/graphics/py-exif/Makefile @@ -17,6 +17,8 @@ WRKSRC= ${WRKDIR}/pyexif DATADIR= ${PREFIX}/share/py-exif DOCSDIR= ${PREFIX}/share/doc/py-exif +OPTIONS_DEFINE= DOCS + post-patch: .for pyfile in exiftool exifinfo.py @ cd ${WRKSRC}/bin && ${MV} ${pyfile} ${pyfile}.orig && \ diff --git a/graphics/py-stltools/Makefile b/graphics/py-stltools/Makefile index 8da6f9fc9082..07a62961d704 100644 --- a/graphics/py-stltools/Makefile +++ b/graphics/py-stltools/Makefile @@ -22,7 +22,7 @@ USE_PYDISTUTILS= YES DOCS= README.txt EXAMPLES= test/cube.stl test/cube_bin.stl -OPTIONS_DEFINE= PYCAIRO +OPTIONS_DEFINE= PYCAIRO DOCS PYCAIRO_DESC= Use (py)Cairo to enable stl2pdf to function. .include <bsd.port.options.mk> diff --git a/graphics/ruby-image_size/Makefile b/graphics/ruby-image_size/Makefile index bbe965ac07b6..52a60c5a281a 100644 --- a/graphics/ruby-image_size/Makefile +++ b/graphics/ruby-image_size/Makefile @@ -26,6 +26,8 @@ DOCS_EN= ${RUBY_RD_FILES:N*.ja.rd} \ DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \ ${RUBY_RD_HTML_FILES:M*.ja.html} +OPTIONS_DEFINE= DOCS + do-install: ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/ ${INSTALL_DATA} ${WRKSRC}/lib/image_size.rb ${STAGEDIR}${RUBY_SITELIBDIR}/ diff --git a/graphics/ruby-ming/Makefile b/graphics/ruby-ming/Makefile index 7ee986cb987d..d10fc6cddc0b 100644 --- a/graphics/ruby-ming/Makefile +++ b/graphics/ruby-ming/Makefile @@ -26,6 +26,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-ruby DOCS= ChangeLog INSTALL LGPL NEWS README TODO +OPTIONS_DEFINE= DOCS + post-install: ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}) diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index e207de7460aa..b4bd6670cfc5 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -25,7 +25,7 @@ CMAKE_ARGS= -DDEPENDENCY_SEARCH_PREFIX:PATH=${LOCALBASE} \ USE_LDCONFIG= yes -OPTIONS_DEFINE= HDF5 OPENEXR NUMPY +OPTIONS_DEFINE= HDF5 OPENEXR NUMPY DOCS OPTIONS_DEFAULT= HDF5 OPENEXR NUMPY_DESC= NumPy mathematical computing (USE Fortran/GCC47+) diff --git a/graphics/xournal/Makefile b/graphics/xournal/Makefile index ba47340df5bd..f217400801e0 100644 --- a/graphics/xournal/Makefile +++ b/graphics/xournal/Makefile @@ -21,7 +21,7 @@ CONFIGURE_ARGS= --docdir="${DOCSDIR}" INSTALLS_ICONS= yes INSTALL_TARGET= install desktop-install -OPTIONS_DEFINE= GHOSTSCRIPT +OPTIONS_DEFINE= GHOSTSCRIPT DOCS GHOSTSCRIPT_DESC= Install ghostscript (PS/PDF as bitmap bg) OPTIONS_DEFAULT= GHOSTSCRIPT diff --git a/graphics/xwpick/Makefile b/graphics/xwpick/Makefile index 151875aa4121..778f68969ab9 100644 --- a/graphics/xwpick/Makefile +++ b/graphics/xwpick/Makefile @@ -14,10 +14,12 @@ COMMENT= Image pick up utility for X Window System USES= imake USE_XORG= x11 xext +OPTIONS_DEFINE= DOCS + post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xwpick - ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${PREFIX}/share/doc/xwpick - ${INSTALL_DATA} ${WRKSRC}/CNL_ARTICLE.PS ${STAGEDIR}${PREFIX}/share/doc/xwpick - ${INSTALL_DATA} ${WRKSRC}/0README ${STAGEDIR}${PREFIX}/share/doc/xwpick/README + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/CNL_ARTICLE.PS ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/0README ${STAGEDIR}${DOCSDIR}/README .include <bsd.port.mk> diff --git a/graphics/zgv/Makefile b/graphics/zgv/Makefile index 63cf1be7d5fc..0eacde643515 100644 --- a/graphics/zgv/Makefile +++ b/graphics/zgv/Makefile @@ -16,7 +16,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff -OPTIONS_DEFINE= SDL +OPTIONS_DEFINE= SDL DOCS USES= gmake makeinfo ALL_TARGET= zgv info |