From 7f8db82585415de1ac0cecbe9a1f699b501a8b71 Mon Sep 17 00:00:00 2001 From: Beech Rintoul Date: Mon, 18 Mar 2013 17:10:57 +0000 Subject: - Convert to OptionsNG - Pass maintainership to submitter PR: ports/177062 Submitted by: nemysis --- graphics/multican/Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'graphics/multican') diff --git a/graphics/multican/Makefile b/graphics/multican/Makefile index 261a196c7730..50b36d6101c6 100644 --- a/graphics/multican/Makefile +++ b/graphics/multican/Makefile @@ -1,25 +1,23 @@ -# New ports collection makefile for: Multican -# Date created: 30 Aug 2011 -# Whom: Alexey Dokuchaev -# +# Created by: Alexey Dokuchaev # $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 @@ -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 -- cgit v1.2.3