Bug 177062 - [PATCH] graphics/multican: Convert to OptionsNG, take maintainership
Summary: [PATCH] graphics/multican: Convert to OptionsNG, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Beech Rintoul
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 03:50 UTC by nemysis
Modified: 2013-03-18 17:20 UTC (History)
0 users

See Also:


Attachments
multican-0.0.5_1.patch (1.72 KB, patch)
2013-03-18 03:50 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-03-18 03:50:01 UTC
- 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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-18 03:50:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->beech

beech@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-18 17:11:11 UTC
Author: beech
Date: Mon Mar 18 17:10:57 2013
New Revision: 314586
URL: http://svnweb.freebsd.org/changeset/ports/314586

Log:
  - Convert to OptionsNG
  - Pass maintainership to submitter
  
  PR:		ports/177062
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/multican/Makefile   (contents, props changed)

Modified: head/graphics/multican/Makefile
==============================================================================
--- head/graphics/multican/Makefile	Mon Mar 18 16:36:54 2013	(r314585)
+++ head/graphics/multican/Makefile	Mon Mar 18 17:10:57 2013	(r314586)
@@ -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$
-#
 
 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 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 .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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Beech Rintoul freebsd_committer freebsd_triage 2013-03-18 17:15:44 UTC
State Changed
From-To: open->closed

Committed, Thanks!