Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 04:40:22 +0100
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177062: [PATCH] graphics/multican: Convert to OptionsNG, take maintainership
Message-ID:  <20130318034026.42BD04E0@hub.freebsd.org>
Resent-Message-ID: <201303180350.r2I3o1T5094539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177062
>Category:       ports
>Synopsis:       [PATCH] graphics/multican: Convert to 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:   Mon Mar 18 03:50:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10
>Description:

- Take maintainership

Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:

portlint -A
looks fine.

port test: clean

>Fix:

--- multican-0.0.5_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/graphics/multican/Makefile ./Makefile
--- /usr/ports/graphics/multican/Makefile	2013-01-14 17:57:04.000000000 +0100
+++ ./Makefile	2013-03-18 04:34:31.000000000 +0100
@@ -1,25 +1,23 @@
-# New ports collection makefile for:	Multican
-# Date created:				30 Aug 2011
-# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 # $FreeBSD: head/graphics/multican/Makefile 300896 2012-07-14 13:54:48Z beat $
-#
 
 PORTNAME=	multican
 DISTVERSION=	0.0.5
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Remote control utility for Canon DSLR cameras
 
 LICENSE=	GPLv2
 
-CFLAGS+=	-fPIC				# required at least on amd64
+CFLAGS+=	-fPIC	# required at least on amd64
 USE_LDCONFIG=	yes
 
 PLIST_FILES=	bin/multican lib/libmultican.so.0 lib/libmultican.so \
 		include/canonio.h include/usbio.h
+
 PORTDOCS=	ChangeLog README TODO
 
 .include <bsd.port.pre.mk>
@@ -31,16 +29,18 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's,endian\.h,sys/&,' ${WRKSRC}/canonio.c \
+	@${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/canonio.c \
 		${WRKSRC}/usbio.c ${WRKSRC}/multican.c
 
 post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/libmultican.so.0 ${PREFIX}/lib
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+	${INSTALL_LIB} ${WRKSRC}/libmultican.so.0 ${PREFIX}/lib/
 	${LN} -sf libmultican.so.0 ${PREFIX}/lib/libmultican.so
 	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
-.if !defined(NOPORTDOCS)
+
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
--- multican-0.0.5_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130318034026.42BD04E0>