2007-03-12 11:07:59 +01:00
|
|
|
# New ports collection makefile for: yolk
|
|
|
|
# Date created: 2007-03-11
|
|
|
|
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= yolk
|
2008-10-11 13:34:25 +02:00
|
|
|
PORTVERSION= 0.4.1
|
2011-11-11 00:20:29 +01:00
|
|
|
PORTREVISION= 1
|
2007-03-12 11:07:59 +01:00
|
|
|
CATEGORIES= misc python
|
2007-04-28 10:35:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_CHEESESHOP} \
|
2007-03-12 11:07:59 +01:00
|
|
|
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
2007-04-28 10:35:42 +02:00
|
|
|
MASTER_SITE_SUBDIR= source/y/${PORTNAME}
|
2007-03-12 11:07:59 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
|
|
COMMENT= A Python tool for listing packages installed by setuptools
|
|
|
|
|
2011-11-11 00:20:29 +01:00
|
|
|
USE_PYTHON= 2.6+
|
2007-07-30 11:42:28 +02:00
|
|
|
USE_PYDISTUTILS= easy_install
|
2007-03-12 11:07:59 +01:00
|
|
|
|
2008-01-10 14:21:39 +01:00
|
|
|
.if !defined (NO_INSTALL_MANPAGES)
|
2007-03-12 11:07:59 +01:00
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-03-13 14:48:33 +01:00
|
|
|
.if ${PYTHON_REL} == 271 || ${PYTHON_REL} == 320
|
|
|
|
IGNORE= does not work with ${PYTHON_VERSION} (see http://goo.gl/SZpDN)
|
|
|
|
.endif
|
|
|
|
|
2007-03-12 11:07:59 +01:00
|
|
|
post-install:
|
2008-01-10 14:21:39 +01:00
|
|
|
.if !defined (NO_INSTALL_MANPAGES)
|
2007-03-12 11:07:59 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.1 ${MANPREFIX}/man/man1/${PORTNAME}.1
|
|
|
|
.endif
|
2007-05-29 14:37:05 +02:00
|
|
|
.if !defined (NOPORTEXAMPLES)
|
2007-03-12 11:07:59 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2007-04-28 10:35:42 +02:00
|
|
|
@cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} ";"
|
2007-03-12 11:07:59 +01:00
|
|
|
@cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} ";"
|
|
|
|
.endif
|
|
|
|
|
2007-05-29 14:37:05 +02:00
|
|
|
.if !defined (NOPORTEXAMPLES)
|
2008-08-11 14:40:49 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
2007-03-12 11:07:59 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|