diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-12-25 23:08:11 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-12-25 23:08:11 +0800 |
commit | 04cea4038b23e4b4bce1c3dd100ee3b21353435e (patch) | |
tree | 0d9e3c8f3bfc5016f9448dc2391b78461584fc25 /astro | |
parent | 1f0f54283e72cfd967220fee4db4ac52c68eb525 (diff) | |
download | freebsd-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/Makefile | 6 |
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 |