Date: Thu, 28 Aug 2014 02:49:31 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366367 - head/deskutils/tel Message-ID: <201408280249.s7S2nVKx045953@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Thu Aug 28 02:49:31 2014 New Revision: 366367 URL: http://svnweb.freebsd.org/changeset/ports/366367 QAT: https://qat.redports.org/buildarchive/r366367/ Log: Support STAGEDIR PR: ports/193029 Submitted by: Ports Fury. Modified: head/deskutils/tel/Makefile Modified: head/deskutils/tel/Makefile ============================================================================== --- head/deskutils/tel/Makefile Thu Aug 28 02:37:47 2014 (r366366) +++ head/deskutils/tel/Makefile Thu Aug 28 02:49:31 2014 (r366367) @@ -3,21 +3,35 @@ PORTNAME= tel PORTVERSION= 0.1.7.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= deskutils -MASTER_SITES= CENKES BERLIOS +MASTER_SITES= SF/${PORTNAME}.berlios MAINTAINER= ports@FreeBSD.org COMMENT= Little console-based phone book manager -USES= gettext tar:bzip2 -USE_PYTHON= yes -USE_PYDISTUTILS=yes -NO_STAGE= yes +LICENSE= MIT + +NO_ARCH= yes + +USES= gettext python shebangfix tar:bzip2 +SHEBANG_FILES= src/tel.py +python_OLD_CMD= /usr/bin/env python +python_CMD= ${PYTHON_CMD} +USE_PYTHON= distutils post-patch: - @${REINPLACE_CMD} \ - -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \ + @${REINPLACE_CMD} -e \ + 's|distutils\.command\.install |setuptools\.command\.install |' \ ${WRKSRC}/appdistutils.py + @${REINPLACE_CMD} -e \ + 's|$${install_messages}|${PREFIX}/share/locale| ; \ + s|$${install_app_modules}|${PREFIX}/lib/tel| ; \ + s|$${install_app_data}|${DATADIR}|' \ + ${WRKSRC}/src/tel.py + +post-install: + @${FIND} ${STAGEDIR}${PREFIX}/bin -type l -delete + @${LN} -sf ${PREFIX}/lib/tel/tel.py ${STAGEDIR}${PREFIX}/bin/tel .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408280249.s7S2nVKx045953>