svn commit: r314586 - head/graphics/multican

Beech Rintoul beech at FreeBSD.org
Mon Mar 18 17:10:58 UTC 2013


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 at 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 at FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	multican
 DISTVERSION=	0.0.5
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	SF
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	nemysis at 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>


More information about the svn-ports-all mailing list