Shared lib version bump also enforce use of DOCSDIR

PR:		32246
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2001-11-24 09:23:52 +00:00
parent a953e2dfa8
commit fba70d13d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50466
3 changed files with 7 additions and 7 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= s10sh
PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://www.kyuzz.org/antirez/s10sh-src/
@ -20,15 +21,13 @@ MAKEFILE= ${FILESDIR}/Makefile.bsd
.if defined(NOUSB) || defined(WITHOUT_USB)
MAKE_ENV+= WITHOUT_USB=YES
.else
LIB_DEPENDS= usb-0.1.3:${PORTSDIR}/devel/libusb
LIB_DEPENDS= usb-0.1.4:${PORTSDIR}/devel/libusb
.endif
.if !defined(NOPORTDOCS)
DOCDIR= share/doc/s10sh
PLIST_SUB+= DOCDIR="${DOCDIR}"
post-install:
${MKDIR} ${LOCALBASE}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${LOCALBASE}/${DOCDIR}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -4,6 +4,7 @@ PowerShot camera. The interface is quite similar to DOS's command.com.
S10sh supports the following PowerShot models:
G1 (works with USB, not reported if works with the serial interface)
S10 (serial and USB)
S20 (serial and USB)
S100 aka Digital Ixus (USB only, since it lacks the serial interface)

View file

@ -1,3 +1,3 @@
bin/s10sh
%%PORTDOCS%%%%DOCDIR%%/README
%%PORTDOCS%%@dirrm %%DOCDIR%%
%%PORTDOCS%%share/doc/s10sh/README
%%PORTDOCS%%@dirrm share/doc/s10sh