diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/trac-defaultcc/Makefile | 31 | ||||
-rw-r--r-- | www/trac-defaultcc/pkg-plist | 1 |
2 files changed, 6 insertions, 26 deletions
diff --git a/www/trac-defaultcc/Makefile b/www/trac-defaultcc/Makefile index 0e2c983bece0..ac507525b447 100644 --- a/www/trac-defaultcc/Makefile +++ b/www/trac-defaultcc/Makefile @@ -1,46 +1,27 @@ -# New ports collection makefile for: trac-autocomplete -# Date created: August 18, 2011 -# Whom: Eygene Ryabinkin <rea@FreeBSD.org> -# +# Created by: Eygene Ryabinkin <rea@FreeBSD.org> # $FreeBSD$ -# PORTNAME= defaultcc PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= http://dist.codelabs.ru/fbsd/trac-${PORTNAME}/ PKGNAMEPREFIX= trac- DISTNAME= ${PORTNAME}plugin-r${REL} MAINTAINER= rea@FreeBSD.org -COMMENT= A plugin that adds default CC value for tickets +COMMENT= Plugin that adds default CC value for tickets -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac -USE_PYTHON= yes +USE_PYTHON= -2.7 USE_ZIP= yes -NO_BUILD= yes -USE_PYDISTUTILS= yes +USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= Default_CC -PYDISTUTILS_NOEGGINFO= yes +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% WRKSRC= ${WRKDIR}/${PORTNAME}plugin/trunk REL= 10605 -PLIST_SUB+= PYTHON_VER=${PYTHON_VER} - -# We must fix file permissions -- ZIP file have 0000 for every file. -# Directory permissions are fine (they aren't stored inside ZIP -# file), but we set them too -- just in case. -post-extract: - @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644 - @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755 - -# Target to generate packaging list -plist: - @${FIND} ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg -type f | ${SED} -e's|^${PYTHON_SITELIBDIR}/|%%PYTHON_SITELIBDIR%%/|;s|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py[[:digit:]\.]*.egg|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg|' - @${FIND} ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg -type d -mindepth 1 | ${SORT} -r | ${SED} -e's|^${PYTHON_SITELIBDIR}/|@dirrm %%PYTHON_SITELIBDIR%%/|;s|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py[[:digit:]\.]*.egg|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg|' - @[ -d ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg ] && ${ECHO} '@dirrm %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg' .include <bsd.port.mk> diff --git a/www/trac-defaultcc/pkg-plist b/www/trac-defaultcc/pkg-plist deleted file mode 100644 index cf38919f1fcf..000000000000 --- a/www/trac-defaultcc/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -%%PYTHON_SITELIBDIR%%/Default_CC-0.1-py%%PYTHON_VER%%.egg |