aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-25 23:08:11 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-25 23:08:11 +0800
commit04cea4038b23e4b4bce1c3dd100ee3b21353435e (patch)
tree0d9e3c8f3bfc5016f9448dc2391b78461584fc25 /astro
parent1f0f54283e72cfd967220fee4db4ac52c68eb525 (diff)
downloadfreebsd-ports-gnome-04cea4038b23e4b4bce1c3dd100ee3b21353435e.tar.gz
freebsd-ports-gnome-04cea4038b23e4b4bce1c3dd100ee3b21353435e.tar.zst
freebsd-ports-gnome-04cea4038b23e4b4bce1c3dd100ee3b21353435e.zip
- Fix and change DOCSDIR
- Bump PORTREVISION for package change Submitted by: mva
Diffstat (limited to 'astro')
-rw-r--r--astro/py-metar/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/astro/py-metar/Makefile b/astro/py-metar/Makefile
index dae8b87139bf..0b2cf290932a 100644
--- a/astro/py-metar/Makefile
+++ b/astro/py-metar/Makefile
@@ -3,6 +3,7 @@
PORTNAME= metar
PORTVERSION= 0.19
+PORTREVISION= 1
CATEGORIES= astro python geography
MASTER_SITES= http://www.schwarzvogel.de/pkgs/ \
LOCAL/sunpoet
@@ -21,7 +22,6 @@ PYDISTUTILS_PKGNAME= ${REALPORTNAME}
USE_PYDISTUTILS=yes
USE_PYTHON= -2.7
-DOCSDIR= ${PREFIX}/share/doc/${REALPORTNAME}-${PORTVERSION}
PLIST_FILES= bin/${REALPORTNAME} \
%%PYTHON_SITELIBDIR%%/${REALPORTNAME}.py \
%%PYTHON_SITELIBDIR%%/${REALPORTNAME}.pyc \
@@ -39,11 +39,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' ${WRKSRC}/${PYSETUP}
.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} \
- -e 's|"share/doc/pymetar-%s/"%pymetar.__version__|"${DOCSDIR}"|' \
+ -e 's|"share/doc/pymetar-%s"%pymetar.__version__|"${DOCSDIR}"|' \
${WRKSRC}/${PYSETUP}
.else
@${REINPLACE_CMD} \
- -e 's|"share/doc/pymetar-%s/"%pymetar.__version__|""|' \
+ -e 's|"share/doc/pymetar-%s"%pymetar.__version__|""|' \
-e "s|\['README.*'\]|[]|" ${WRKSRC}/${PYSETUP}
.endif