1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/qvplay/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

# Created by: Jun-ichiro itojun Itoh <itojun@itojun.org>
1999-08-25 06:16:32 +00:00
# $FreeBSD$
PORTNAME= qvplay
PORTVERSION= 0.95
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.asahi-net.or.jp/~xg2k-hys/
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:08:19 +00:00
COMMENT= Digital camera downloading tool for Casio QV series
WRKSRC= ${WRKDIR}/QVplay095/obj/FreeBSD
GNU_CONFIGURE= yes
PLIST_FILES= bin/qvalldel \
bin/qvplay \
bin/qvrec
MAN1= qvalldel.1 qvplay.1 qvrec.1
PORTDOCS= FAQ.txt HISTORY PROTOCOL.eng PROTOCOL.txt \
README README.FreeBSD README.eng
.include <bsd.port.options.mk>
post-patch:
@${MKDIR} ${WRKSRC}
@${REINPLACE_CMD} \
-e 's|/usr/local/bin|$${PREFIX}/bin|' \
-e 's|/usr/local/man/man1|$${PREFIX}/man/man1|' \
-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN1) $$(mandir)/$$(MAN1)|$$(INSTALL_DATA) $$(MAN1) $$(mandir)/$$(MAN1)|' \
-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN2) $$(mandir)/$$(MAN2)|$$(INSTALL_DATA) $$(MAN2) $$(mandir)/$$(MAN2)|' \
-e 's|$$(INSTALL_PROGRAM) -o root -g bin -m 444 $$(MAN3) $$(mandir)/$$(MAN3)|$$(INSTALL_DATA) $$(MAN3) $$(mandir)/$$(MAN3)|' \
${WRKSRC}/../../src/Makefile.in
pre-configure:
@(cd ${WRKDIR}/QVplay095; ./setup FreeBSD)
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../../|} ${DOCSDIR}
.endif
.include <bsd.port.mk>