Date: Wed, 25 Dec 2013 15:08:12 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337427 - head/astro/py-metar Message-ID: <201312251508.rBPF8C9Q073498@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Wed Dec 25 15:08:11 2013 New Revision: 337427 URL: http://svnweb.freebsd.org/changeset/ports/337427 Log: - Fix and change DOCSDIR - Bump PORTREVISION for package change Submitted by: mva Modified: head/astro/py-metar/Makefile Modified: head/astro/py-metar/Makefile ============================================================================== --- head/astro/py-metar/Makefile Wed Dec 25 15:08:07 2013 (r337426) +++ head/astro/py-metar/Makefile Wed Dec 25 15:08:11 2013 (r337427) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312251508.rBPF8C9Q073498>