Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2014 16:27:31 +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: r363081 - head/astro/py-metar
Message-ID:  <201407271627.s6RGRVPN091794@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jul 27 16:27:31 2014
New Revision: 363081
URL: http://svnweb.freebsd.org/changeset/ports/363081
QAT: https://qat.redports.org/buildarchive/r363081/

Log:
  - Cleanup Makefile

Modified:
  head/astro/py-metar/Makefile

Modified: head/astro/py-metar/Makefile
==============================================================================
--- head/astro/py-metar/Makefile	Sun Jul 27 16:21:34 2014	(r363080)
+++ head/astro/py-metar/Makefile	Sun Jul 27 16:27:31 2014	(r363081)
@@ -8,7 +8,7 @@ CATEGORIES=	astro python geography
 MASTER_SITES=	http://www.schwarzvogel.de/pkgs/ \
 		LOCAL/sunpoet
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${REALPORTNAME}-${PORTVERSION}
+DISTNAME=	py${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python module that provides access to NOAA METAR weather reports
@@ -25,13 +25,11 @@ USES=		shebangfix
 
 PORTDOCS=	COPYING README THANKS librarydoc.txt
 
-REALPORTNAME=	pymetar
-
-SHEBANG_FILES=	bin/${REALPORTNAME}
+SHEBANG_FILES=	bin/py${PORTNAME}
 python_CMD=	${PYTHON_CMD}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' \
-		-e 's|"share/doc/pymetar-%s"%pymetar.__version__|"${DOCSDIR}"|' ${WRKSRC}/${PYSETUP}
+		-e 's|"share/doc/pymetar-%s"%pymetar.__version__|"${DOCSDIR}"|' ${WRKSRC}/setup.py
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407271627.s6RGRVPN091794>