diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2012-05-13 21:26:48 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2012-05-13 21:26:48 +0000 |
commit | dfe87a48e0c45c0c20cdf199cc59fa0b253a7c51 (patch) | |
tree | d54bd485a0c1667468fb693a0c68ee068c9cfa67 | |
parent | 87fc406789482adc0e9bf09c6ad853530a49d145 (diff) | |
download | ports-dfe87a48e0c45c0c20cdf199cc59fa0b253a7c51.tar.gz ports-dfe87a48e0c45c0c20cdf199cc59fa0b253a7c51.zip |
Notes
-rw-r--r-- | graphics/libjpeg-turbo/Makefile | 19 | ||||
-rw-r--r-- | graphics/libjpeg-turbo/pkg-plist | 7 |
2 files changed, 19 insertions, 7 deletions
diff --git a/graphics/libjpeg-turbo/Makefile b/graphics/libjpeg-turbo/Makefile index 3d5073607562..f91d387fecce 100644 --- a/graphics/libjpeg-turbo/Makefile +++ b/graphics/libjpeg-turbo/Makefile @@ -26,6 +26,8 @@ ALL_TARGET= test MAN1= cjpeg.1 djpeg.1 jpegtran.1 rdjpgcom.1 wrjpgcom.1 PLIST_SUB= SOVERSION=${SOVERSION} +PORTDOCS= * +PORTEXAMPLES= * # chase graphics/jpeg SOVERSION= 11 @@ -38,4 +40,21 @@ OPTIONS+= PIC "Static library with PIC (required for VirtualGL)" off CONFIGURE_ARGS+=--with-pic .endif +post-patch: +.if defined(NOPORTDOCS) + ${REINPLACE_CMD} -e '/^install-data-am/s,install-dist_docDATA,,' \ + ${WRKSRC}/Makefile.in +.else + ${REINPLACE_CMD} -e '/^docdir/s,=.*,= ${DOCSDIR},' \ + ${WRKSRC}/Makefile.in +.endif + +.if defined(NOPORTEXAMPLES) + ${REINPLACE_CMD} -e '/^install-data-am/s,install-dist_exampleDATA,,' \ + ${WRKSRC}/Makefile.in +.else + ${REINPLACE_CMD} -e '/^exampledir/s,=.*,= ${EXAMPLESDIR},' \ + ${WRKSRC}/Makefile.in +.endif + .include <bsd.port.mk> diff --git a/graphics/libjpeg-turbo/pkg-plist b/graphics/libjpeg-turbo/pkg-plist index 4c882d0e2250..538bc4a749af 100644 --- a/graphics/libjpeg-turbo/pkg-plist +++ b/graphics/libjpeg-turbo/pkg-plist @@ -16,10 +16,3 @@ lib/libjpeg.so.%%SOVERSION%% lib/libturbojpeg.a lib/libturbojpeg.la lib/libturbojpeg.so -share/doc/README -share/doc/README-turbo.txt -share/doc/example.c -share/doc/libjpeg.txt -share/doc/structure.txt -share/doc/usage.txt -share/doc/wizard.txt |