diff options
author | dinoex <dinoex@FreeBSD.org> | 2013-02-08 19:34:24 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2013-02-08 19:34:24 +0800 |
commit | 60b8888e3765086c6c732e832280f45ff3adf2f5 (patch) | |
tree | b9fd282e6aa2d51f47e60d290180b6405db65e18 /graphics | |
parent | d94b6f11a6725162f44d9b0a3b140c67ff46c436 (diff) | |
download | freebsd-ports-gnome-60b8888e3765086c6c732e832280f45ff3adf2f5.tar.gz freebsd-ports-gnome-60b8888e3765086c6c732e832280f45ff3adf2f5.tar.zst freebsd-ports-gnome-60b8888e3765086c6c732e832280f45ff3adf2f5.zip |
- use option DOC
PR: 175718
Submitted by: Takefu
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/jpeg/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile index 6e7c031b4acf..677b07429319 100644 --- a/graphics/jpeg/Makefile +++ b/graphics/jpeg/Makefile @@ -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/ |