ports/172315: [PATCH] graphics/photopc: Makefile changed, OptionsNG, take maintainership
nemysis
nemysis at gmx.ch
Thu Oct 4 00:30:12 UTC 2012
>Number: 172315
>Category: ports
>Synopsis: [PATCH] graphics/photopc: Makefile changed, OptionsNG, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 04 00:30:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
Makefile changed
- Trim Makefile headers
- Clean up COMMENT
+COMMENT= Control cameras based on Sierra Imaging chipset and compatibles
- Added PLIST_FILES
+PLIST_FILES= bin/epinfo \
- Rework PORTDOCS
+PORTDOCS= README protocol.htm usage.htm
- OptionsNG
- Rework post-install target
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
- Changed pkg-descr
- Take maintainership
Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
portlint -A
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
0 fatal errors and 1 warning found.
port test: clean
Build log RedPorts
https://redports.org/buildarchive/20121003185238-9618/
>Fix:
--- photopc-3.07.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/photopc/Makefile ./Makefile
--- /usr/ports/graphics/photopc/Makefile 2012-01-28 18:50:08.000000000 +0100
+++ ./Makefile 2012-10-03 20:47:19.000000000 +0200
@@ -1,29 +1,32 @@
-# New ports collection makefile for: photopc-1.6
-# Date created: 11 October 1997
-# Whom: Douglas Carmichael <dcarmich at mcs.com>
-#
+# Created by: Douglas Carmichael <dcarmich at mcs.com>
# $FreeBSD: ports/graphics/photopc/Makefile,v 1.12 2012/01/28 17:50:08 miwi Exp $
-#
PORTNAME= photopc
PORTVERSION= 3.07
CATEGORIES= graphics
MASTER_SITES= SF
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A utility to manage an Epson PhotoPC 500 digital camera
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Control cameras based on Sierra Imaging chipset and compatibles
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
+PLIST_FILES= bin/epinfo \
+ bin/photopc \
+ include/eph_io.h \
+ lib/libeph_io.a
+
MAN1= epinfo.1 photopc.1
-PORTDOCS= protocol.htm usage.htm
-PLIST_FILES= bin/epinfo bin/photopc include/eph_io.h lib/libeph_io.a
+
+PORTDOCS= README protocol.htm usage.htm
+
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.htm ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/graphics/photopc/pkg-descr ./pkg-descr
--- /usr/ports/graphics/photopc/pkg-descr 2009-12-21 03:17:07.000000000 +0100
+++ ./pkg-descr 2012-10-03 20:44:41.000000000 +0200
@@ -1,20 +1,16 @@
-(From README file):
-/*
- Copyright (c) 1997 Eugene G. Crosser
+A command-line tool to download picturs and control still digital cameras
+based on Sierra Imaging chipset and compatibles
+(Olympus, Nikon, Epson, Agfa and some others).
- You may do virtually what you wish with this software, as long
- as the explicit reference to its original author is retained.
+This is a library and a command-line frontend to manipulate digital still
+cameras based on Fujitsu chipset and Sierra Imaging firmware. The
+program is known to work with Agfa, Epson, Olympus, Sanyo and Nikon (at
+least CoolPix 900, 950 and 8x0 but not CoolPix 600!) cameras.
- THIS SOFTWARE IS PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY
- KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE
- COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE
- USE OF THIS SOFTWARE.
-*/
-
-This is a library and a command-line frontend to manipulate an Epson
-PhotoPC digital still camera. The camera comes with software for
-Windows and for Mac, and no description of the protocol. With this
-tool, it is managable from a UNIX box. It is quite probable that the
-program will also work with Olympus Camedia camera.
+The cameras typically come with software for Windows and for Mac, and no
+description of the protocol. With this tool, they are managable from a
+UNIX box. Bruce D. Lightner <lightner at lightner.net> has added support
+for Win32 and DOS platforms. Note that the program does not have any
+GUI, it is plain command-line even on Windows.
WWW: http://photopc.sourceforge.net/
--- photopc-3.07.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list