svn commit: r311937 - head/graphics/jpeg

Dirk Meyer dinoex at FreeBSD.org
Fri Feb 8 11:34:25 UTC 2013


Author: dinoex
Date: Fri Feb  8 11:34:24 2013
New Revision: 311937
URL: http://svnweb.freebsd.org/changeset/ports/311937

Log:
  - use option DOC
  PR:		175718
  Submitted by:	Takefu

Modified:
  head/graphics/jpeg/Makefile

Modified: head/graphics/jpeg/Makefile
==============================================================================
--- head/graphics/jpeg/Makefile	Fri Feb  8 11:30:13 2013	(r311936)
+++ head/graphics/jpeg/Makefile	Fri Feb  8 11:34:24 2013	(r311937)
@@ -34,6 +34,8 @@ CONFIGURE_ARGS+=	--enable-maxmem=${J_MAX
 
 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/


More information about the svn-ports-head mailing list