1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- use option DOC

PR:		175718
Submitted by:	Takefu
This commit is contained in:
Dirk Meyer 2013-02-08 11:34:24 +00:00
parent 52dbac33ef
commit f02ae158ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311937

View File

@ -34,6 +34,8 @@ CONFIGURE_ARGS+= --enable-maxmem=${J_MAXMEM}
MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1
.include <bsd.port.options.mk>
post-extract:
@${CP} ${DISTDIR}/${DIST_SUBDIR}/jpegexiforient.c ${WRKSRC}/
@${CP} ${DISTDIR}/${DIST_SUBDIR}/exifautotran.txt ${WRKSRC}/exifautotran
@ -47,7 +49,7 @@ test: build
regression-test: test
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/jpeg
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/jpeg/
@${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/jpeg/