1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix LICENSE

- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches
This commit is contained in:
Dmitry Marakasov 2017-12-18 11:23:13 +00:00
parent 50c6c3166d
commit 453135dda3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456621
6 changed files with 25 additions and 21 deletions

View File

@ -11,7 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= ports@FreeBSD.org
COMMENT= Basic image management and display program
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 \
libfltk.so:x11-toolkits/fltk \
@ -22,6 +23,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= tar:bzip2
USE_XORG= xinerama
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
post-patch:
@ -29,17 +31,19 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flphoto ${STAGEDIR}${PREFIX}/bin/flphoto
${INSTALL_MAN} ${WRKSRC}/doc/flphoto.man ${STAGEDIR}${MANPREFIX}/man/man1/flphoto.1
${INSTALL_MAN} ${WRKSRC}/doc/flphoto.man ${STAGEDIR}${MAN1PREFIX}/man/man1/flphoto.1
${INSTALL_MAN} ${WRKSRC}/doc/album.man ${STAGEDIR}${MAN5PREFIX}/man/man5/album.5
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}
.for lang in de en_CA en_GB es fr it nl pt
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}
${INSTALL_DATA} ${WRKSRC}/po/${lang}.po \
${STAGEDIR}${PREFIX}/share/locale/${lang}/flphoto_${lang}
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- ./Fl_Print_Dialog2.cxx.orig 2006-11-26 22:45:08.000000000 +0100
+++ ./Fl_Print_Dialog2.cxx 2012-12-22 12:41:39.000000000 +0100
--- Fl_Print_Dialog2.cxx.orig 2006-11-26 21:45:08 UTC
+++ Fl_Print_Dialog2.cxx
@@ -56,6 +56,7 @@
#ifdef HAVE_LIBCUPS

View File

@ -1,5 +1,5 @@
--- camera.cxx.orig 2008-09-15 21:32:33.000000000 +0800
+++ camera.cxx 2008-09-15 21:33:49.000000000 +0800
--- camera.cxx.orig 2006-07-18 01:11:22 UTC
+++ camera.cxx
@@ -42,6 +42,7 @@
# define fl_mkdir(p) mkdir(p)
#else
@ -18,7 +18,7 @@
static void progress_update(GPContext *context, unsigned id, float current,
void *data);
static void purge_thumbnails(void);
@@ -909,7 +909,6 @@
@@ -909,7 +909,6 @@ static unsigned // O - ID number
progress_start(GPContext *context, // I - Current context
float target, // I - Target size
const char *format, // I - Progress text, if any

View File

@ -1,6 +1,6 @@
--- ./espmsg.c.orig 2005-01-23 04:52:44.000000000 +0100
+++ ./espmsg.c 2012-12-22 12:41:39.000000000 +0100
@@ -766,7 +766,7 @@
--- espmsg.c.orig 2005-01-23 03:52:44 UTC
+++ espmsg.c
@@ -766,7 +766,7 @@ translate_messages(const char *language)
*bufptr++ = '&';
*bufptr = '\0';

View File

@ -1,6 +1,6 @@
--- ./http-md5.cxx.orig 2012-12-22 12:42:25.000000000 +0100
+++ ./http-md5.cxx 2012-12-22 12:42:28.000000000 +0100
@@ -120,7 +120,7 @@
--- http-md5.cxx.orig 2005-01-23 03:52:44 UTC
+++ http-md5.cxx
@@ -120,7 +120,7 @@ HTTP::md5_string(const MD5Byte *sum, /*
{
int i; /* Looping var */
char *md5ptr; /* Pointer into MD5 string */

View File

@ -1,6 +1,6 @@
--- image.cxx.orig 2006-11-18 14:56:11.000000000 +0100
+++ image.cxx 2012-05-09 12:28:28.000000000 +0200
@@ -92,6 +92,7 @@
--- image.cxx.orig 2006-11-18 13:56:11 UTC
+++ image.cxx
@@ -92,6 +92,7 @@ extern "C" {
#ifdef HAVE_LIBPNG
# include <png.h>