diff options
author | Beech Rintoul <beech@FreeBSD.org> | 2013-03-18 17:10:57 +0000 |
---|---|---|
committer | Beech Rintoul <beech@FreeBSD.org> | 2013-03-18 17:10:57 +0000 |
commit | 7f8db82585415de1ac0cecbe9a1f699b501a8b71 (patch) | |
tree | 5b6d7734c08bffa7e8b6f552f463945b91c90b11 /graphics/multican | |
parent | 9d6c76f2686cb995e22281de63357755a60a80bb (diff) |
- Convert to OptionsNG
- Pass maintainership to submitter
PR: ports/177062
Submitted by: nemysis <nemysis@gmx.ch>
Notes
Notes:
svn path=/head/; revision=314586
Diffstat (limited to 'graphics/multican')
-rw-r--r-- | graphics/multican/Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
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 <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> |