diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 00:49:35 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 00:49:35 +0800 |
commit | 30c74ce1cb9783366458b02884d1f527b7c65bf9 (patch) | |
tree | e6d866cb45d60d95adbecc8df16d5515574badc6 /graphics | |
parent | 614ef3c6f7f07291893712754f0bbe5edad8bd91 (diff) | |
download | freebsd-ports-gnome-30c74ce1cb9783366458b02884d1f527b7c65bf9.tar.gz freebsd-ports-gnome-30c74ce1cb9783366458b02884d1f527b7c65bf9.tar.zst freebsd-ports-gnome-30c74ce1cb9783366458b02884d1f527b7c65bf9.zip |
- Unsilence install commands
- Switch to options helpers
Approved by: portmgr (bapt)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/jpeg/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/graphics/jpeg/Makefile b/graphics/jpeg/Makefile index d65b7cb42b8f..86d031c8c0a9 100644 --- a/graphics/jpeg/Makefile +++ b/graphics/jpeg/Makefile @@ -33,8 +33,6 @@ CONFIGURE_ARGS+= --enable-maxmem=${J_MAXMEM} OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-extract: @${CP} ${DISTDIR}/${DIST_SUBDIR}/jpegexiforient.c ${WRKSRC}/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/exifautotran.txt ${WRKSRC}/exifautotran @@ -49,15 +47,15 @@ regression-test: test post-install: ${LN} -s libjpeg.so.8 ${STAGEDIR}${PREFIX}/lib/libjpeg.so.11 -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/jpeg - @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/jpeg/ - @${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${PREFIX}/share/doc/jpeg/ -.endif .for header in ${ADDITIONAL_HEADER} - @${INSTALL_DATA} ${WRKSRC}/${header} ${STAGEDIR}${PREFIX}/include/ + ${INSTALL_DATA} ${WRKSRC}/${header} ${STAGEDIR}${PREFIX}/include/ .endfor ${INSTALL_PROGRAM} ${WRKSRC}/jpegexiforient ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/exifautotran ${STAGEDIR}${PREFIX}/bin/ +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/jpeg + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/jpeg/ + ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${PREFIX}/share/doc/jpeg/ + .include <bsd.port.mk> |