aboutsummaryrefslogtreecommitdiff
path: root/science/udunits
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-08-31 14:41:13 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-08-31 14:41:13 +0000
commit6df1fd73c46ffc90b84b8cdf3c7d93fcfe5f2ba5 (patch)
tree9b34b6920f0bc65005e80cd5a5793aa50dec1570 /science/udunits
parent066b703d8e02279314519e35c2ce04bb39b71f7e (diff)
downloadports-6df1fd73c46ffc90b84b8cdf3c7d93fcfe5f2ba5.tar.gz
ports-6df1fd73c46ffc90b84b8cdf3c7d93fcfe5f2ba5.zip
Notes
Diffstat (limited to 'science/udunits')
-rw-r--r--science/udunits/Makefile4
-rw-r--r--science/udunits/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/science/udunits/Makefile b/science/udunits/Makefile
index 92666a6dfb76..17eef9203b7b 100644
--- a/science/udunits/Makefile
+++ b/science/udunits/Makefile
@@ -3,6 +3,7 @@
PORTNAME= udunits
PORTVERSION= 2.2.26
+PORTREVISION= 1
CATEGORIES= science math
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/udunits/ \
LOCAL/sunpoet
@@ -31,4 +32,7 @@ INFO= udunits2 udunits2lib udunits2prog
post-patch:
@${REINPLACE_CMD} -e '/install-data-hook$$/d' ${WRKSRC}/lib/Makefile.in
+post-patch-DOCS-on:
+ @${REINPLACE_CMD} -e '/^dist_doc_DATA = / s| COPYRIGHT||' ${WRKSRC}/Makefile.in
+
.include <bsd.port.mk>
diff --git a/science/udunits/pkg-plist b/science/udunits/pkg-plist
index aff0354c207d..ed42bd6d76ab 100644
--- a/science/udunits/pkg-plist
+++ b/science/udunits/pkg-plist
@@ -7,7 +7,6 @@ lib/libudunits2.so
lib/libudunits2.so.0
lib/libudunits2.so.0.1.0
%%PORTDOCS%%%%DOCSDIR%%/CHANGE_LOG
-%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%PORTDOCS%%%%DOCSDIR%%/README
%%DATADIR%%/udunits2-accepted.xml
%%DATADIR%%/udunits2-base.xml