diff options
author | beech <beech@FreeBSD.org> | 2013-03-19 01:10:57 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2013-03-19 01:10:57 +0800 |
commit | 473ccc36b43aa4cf69ab4400ca3e62202c6701fc (patch) | |
tree | 5b6d7734c08bffa7e8b6f552f463945b91c90b11 /graphics | |
parent | f399aaa931abd0283da8829ac0c6bafb76c582db (diff) | |
download | freebsd-ports-gnome-473ccc36b43aa4cf69ab4400ca3e62202c6701fc.tar.gz freebsd-ports-gnome-473ccc36b43aa4cf69ab4400ca3e62202c6701fc.tar.zst freebsd-ports-gnome-473ccc36b43aa4cf69ab4400ca3e62202c6701fc.zip |
- Convert to OptionsNG
- Pass maintainership to submitter
PR: ports/177062
Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'graphics')
-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> |