diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2008-09-25 13:34:25 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2008-09-25 13:34:25 +0800 |
commit | 91263032832f37910a42b136822da26b786a122b (patch) | |
tree | b27e2d007882287804b75109184097a9733df89f /graphics | |
parent | bd20273724a3962e4aa4ce1116e1425d63279bc5 (diff) | |
download | freebsd-ports-gnome-91263032832f37910a42b136822da26b786a122b.tar.gz freebsd-ports-gnome-91263032832f37910a42b136822da26b786a122b.tar.zst freebsd-ports-gnome-91263032832f37910a42b136822da26b786a122b.zip |
- Unbreak
- Respect NOPORTDOCS
PR: ports/127398
Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw>
Approved by: Ying-Chieh Chen <yinjieh AT csie.nctu.edu.tw> (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/flphoto/Makefile | 4 | ||||
-rw-r--r-- | graphics/flphoto/files/patch-camera.cxx | 10 | ||||
-rw-r--r-- | graphics/flphoto/pkg-plist | 68 |
3 files changed, 46 insertions, 36 deletions
diff --git a/graphics/flphoto/Makefile b/graphics/flphoto/Makefile index 0d9a1dbdd29e..eb283d1bf847 100644 --- a/graphics/flphoto/Makefile +++ b/graphics/flphoto/Makefile @@ -19,8 +19,6 @@ COMMENT= A basic image management and display program LIB_DEPENDS= gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \ fltk.1:${PORTSDIR}/x11-toolkits/fltk -BROKEN= does not compile - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_BZIP2= yes @@ -36,11 +34,13 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/flphoto ${PREFIX}/bin/flphoto ${INSTALL_MAN} ${WRKSRC}/doc/flphoto.man ${MANPREFIX}/man/man1/flphoto.1 ${INSTALL_MAN} ${WRKSRC}/doc/album.man ${MAN5PREFIX}/man/man5/album.5 +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${DOCSDIR} +.endif .for lang in de en_CA en_GB es fr it nl pt @${MKDIR} ${PREFIX}/share/locale/${lang} ${INSTALL_DATA} ${WRKSRC}/po/${lang}.po \ diff --git a/graphics/flphoto/files/patch-camera.cxx b/graphics/flphoto/files/patch-camera.cxx new file mode 100644 index 000000000000..7da3e1a666aa --- /dev/null +++ b/graphics/flphoto/files/patch-camera.cxx @@ -0,0 +1,10 @@ +--- camera.cxx.orig 2008-09-15 21:32:33.000000000 +0800 ++++ camera.cxx 2008-09-15 21:33:49.000000000 +0800 +@@ -42,6 +42,7 @@ + # define fl_mkdir(p) mkdir(p) + #else + # include <unistd.h> ++# include <sys/stat.h> + # define fl_mkdir(p) mkdir(p, 0777) + #endif // WIN32 && !__CYGWIN__ + #include <errno.h> diff --git a/graphics/flphoto/pkg-plist b/graphics/flphoto/pkg-plist index b4d4e323f2e9..597bc8207898 100644 --- a/graphics/flphoto/pkg-plist +++ b/graphics/flphoto/pkg-plist @@ -1,37 +1,37 @@ bin/flphoto -%%DOCSDIR%%/README -%%DOCSDIR%%/about.html -%%DOCSDIR%%/albums.html -%%DOCSDIR%%/camera.jpg -%%DOCSDIR%%/contents.html -%%DOCSDIR%%/crop.jpg -%%DOCSDIR%%/download.html -%%DOCSDIR%%/export-dir.jpg -%%DOCSDIR%%/export-general.jpg -%%DOCSDIR%%/export-images.jpg -%%DOCSDIR%%/export-thumbnails.jpg -%%DOCSDIR%%/export-watermark.jpg -%%DOCSDIR%%/export.html -%%DOCSDIR%%/flphoto.jpg -%%DOCSDIR%%/flphoto.png -%%DOCSDIR%%/images.html -%%DOCSDIR%%/import.html -%%DOCSDIR%%/index.html -%%DOCSDIR%%/jpeg.jpg -%%DOCSDIR%%/license.html -%%DOCSDIR%%/options-image.jpg -%%DOCSDIR%%/options-memcard.jpg -%%DOCSDIR%%/options-slideshow.jpg -%%DOCSDIR%%/options.html -%%DOCSDIR%%/print-calendar.jpg -%%DOCSDIR%%/print-general.jpg -%%DOCSDIR%%/print-matted.jpg -%%DOCSDIR%%/print-printer.jpg -%%DOCSDIR%%/print.html -%%DOCSDIR%%/relnotes.html -%%DOCSDIR%%/scale.jpg -%%DOCSDIR%%/slideshow.html -%%DOCSDIR%%/view.html +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/about.html +%%PORTDOCS%%%%DOCSDIR%%/albums.html +%%PORTDOCS%%%%DOCSDIR%%/camera.jpg +%%PORTDOCS%%%%DOCSDIR%%/contents.html +%%PORTDOCS%%%%DOCSDIR%%/crop.jpg +%%PORTDOCS%%%%DOCSDIR%%/download.html +%%PORTDOCS%%%%DOCSDIR%%/export-dir.jpg +%%PORTDOCS%%%%DOCSDIR%%/export-general.jpg +%%PORTDOCS%%%%DOCSDIR%%/export-images.jpg +%%PORTDOCS%%%%DOCSDIR%%/export-thumbnails.jpg +%%PORTDOCS%%%%DOCSDIR%%/export-watermark.jpg +%%PORTDOCS%%%%DOCSDIR%%/export.html +%%PORTDOCS%%%%DOCSDIR%%/flphoto.jpg +%%PORTDOCS%%%%DOCSDIR%%/flphoto.png +%%PORTDOCS%%%%DOCSDIR%%/images.html +%%PORTDOCS%%%%DOCSDIR%%/import.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/jpeg.jpg +%%PORTDOCS%%%%DOCSDIR%%/license.html +%%PORTDOCS%%%%DOCSDIR%%/options-image.jpg +%%PORTDOCS%%%%DOCSDIR%%/options-memcard.jpg +%%PORTDOCS%%%%DOCSDIR%%/options-slideshow.jpg +%%PORTDOCS%%%%DOCSDIR%%/options.html +%%PORTDOCS%%%%DOCSDIR%%/print-calendar.jpg +%%PORTDOCS%%%%DOCSDIR%%/print-general.jpg +%%PORTDOCS%%%%DOCSDIR%%/print-matted.jpg +%%PORTDOCS%%%%DOCSDIR%%/print-printer.jpg +%%PORTDOCS%%%%DOCSDIR%%/print.html +%%PORTDOCS%%%%DOCSDIR%%/relnotes.html +%%PORTDOCS%%%%DOCSDIR%%/scale.jpg +%%PORTDOCS%%%%DOCSDIR%%/slideshow.html +%%PORTDOCS%%%%DOCSDIR%%/view.html share/locale/de/flphoto_de share/locale/en_CA/flphoto_en_CA share/locale/en_GB/flphoto_en_GB @@ -40,4 +40,4 @@ share/locale/fr/flphoto_fr share/locale/it/flphoto_it share/locale/nl/flphoto_nl share/locale/pt/flphoto_pt -@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |