diff options
author | vanilla <vanilla@FreeBSD.org> | 2011-04-07 16:41:17 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2011-04-07 16:41:17 +0800 |
commit | 78adcb994c1ba80f8deb95fa4a37c96ebab4093c (patch) | |
tree | b4f4087924ed732568cb5bc3062062d53329aab4 | |
parent | 0289bb9c45e0cb8448316658366ec129fe53069b (diff) | |
download | freebsd-ports-gnome-78adcb994c1ba80f8deb95fa4a37c96ebab4093c.tar.gz freebsd-ports-gnome-78adcb994c1ba80f8deb95fa4a37c96ebab4093c.tar.zst freebsd-ports-gnome-78adcb994c1ba80f8deb95fa4a37c96ebab4093c.zip |
fix pkg-plist.
Obtained from: erwin@
-rw-r--r-- | archivers/snappy/Makefile | 8 | ||||
-rw-r--r-- | archivers/snappy/pkg-plist | 7 |
2 files changed, 15 insertions, 0 deletions
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 <bsd.port.mk> 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/ |