From 78adcb994c1ba80f8deb95fa4a37c96ebab4093c Mon Sep 17 00:00:00 2001 From: vanilla Date: Thu, 7 Apr 2011 08:41:17 +0000 Subject: fix pkg-plist. Obtained from: erwin@ --- archivers/snappy/Makefile | 8 ++++++++ archivers/snappy/pkg-plist | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/archivers/snappy/Makefile b/archivers/snappy/Makefile index 8c27b9363308..fa1e8702feed 100644 --- a/archivers/snappy/Makefile +++ b/archivers/snappy/Makefile @@ -8,6 +8,7 @@ PORTNAME= snappy PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} @@ -17,4 +18,11 @@ COMMENT= A fast compressor/decompressor library GNU_CONFIGURE= yes USE_LDCONFIG= yes +post-patch: +.if defined(NOPORTDOCS) + ${REINPLACE_CMD} -e \ + '/^install-data-am:/ s|install-dist_docDATA||' \ + ${WRKSRC}/Makefile.in +.endif + .include diff --git a/archivers/snappy/pkg-plist b/archivers/snappy/pkg-plist index 8356ff45578c..451f6fd79d54 100644 --- a/archivers/snappy/pkg-plist +++ b/archivers/snappy/pkg-plist @@ -5,3 +5,10 @@ lib/libsnappy.a lib/libsnappy.la lib/libsnappy.so lib/libsnappy.so.1 +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% +share/ -- cgit