4e4178dab5
from these ports. Other changes: - convert Makefile header - convert to optionsNG - remove indefinite article from comment - drop support for FreeBSD < 8.0 - pet portlint (leave library ABI versions in LIB_DEPENDS) - net-mgmt/spectools: change option name from GTK to GTK2 to use default description from bsd.options.desc.mk Approved by: portmgr (bapt)
40 lines
978 B
Makefile
40 lines
978 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= multican
|
|
DISTVERSION= 0.0.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
COMMENT= Remote control utility for Canon DSLR cameras
|
|
|
|
LICENSE= GPLv2
|
|
|
|
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.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/canonio.c \
|
|
${WRKSRC}/usbio.c ${WRKSRC}/multican.c
|
|
|
|
post-install:
|
|
${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 ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|