aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-08-31 22:41:13 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-08-31 22:41:13 +0800
commitd2c29a3bc634d3ffaf80372af150a3e7151d851e (patch)
tree9b34b6920f0bc65005e80cd5a5793aa50dec1570 /science
parent130e5651223ab9ad49ed7ab3585a80ebde1dc2ba (diff)
downloadfreebsd-ports-gnome-d2c29a3bc634d3ffaf80372af150a3e7151d851e.tar.gz
freebsd-ports-gnome-d2c29a3bc634d3ffaf80372af150a3e7151d851e.tar.zst
freebsd-ports-gnome-d2c29a3bc634d3ffaf80372af150a3e7151d851e.zip
Remove LICENSE_FILE from PORTDOCS
- Bump PORTREVISION for package change
Diffstat (limited to 'science')
-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