freebsd-ports/www/trac-autocomplete/Makefile
Ruslan Makhmatkhanov f4f3d946de - do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change
- trim Makefile header
- remove indefinite article in COMMENT
- limit python version to 2.x only
- remove permissions fixing part - setuptools will take care of it
- simplify pkg-plist entries

PR:		173162
Submitted by:	rm (myself)
Approved by:	maintainer timeout (~2 months)
2012-12-26 09:56:35 +00:00

31 lines
1.3 KiB
Makefile

# Created by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
# $FreeBSD$
PORTNAME= autocomplete
PORTVERSION= 0.4.1
PORTREVISION= 5
CATEGORIES= www python
MASTER_SITES= http://dist.codelabs.ru/fbsd/
PKGNAMEPREFIX= trac-
DISTNAME= autocompleteusersplugin-r${REL}
MAINTAINER= rea@FreeBSD.org
COMMENT= Plugin for autocompletion of user names in ticket fields
RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac
USE_PYTHON= -2.7
USE_ZIP= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= AutocompleteUsers
PYDISTUTILS_NOEGGINFO= yes
WRKSRC= ${WRKDIR}/autocompleteusersplugin/0.11
REL= 8451
# 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/|'
@${ECHO} '@dirrm %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg'
.include <bsd.port.mk>