aboutsummaryrefslogtreecommitdiffstats
path: root/www/planet/Makefile
blob: 183a548ebbf0327d73df025b1d316a42cae260c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    planet
# Date created:                         26 September 2005
# Whom:                                 Alan Snelson <alan@wave2.co.uk>
#
# $FreeBSD$
#

PORTNAME=   planet
PORTVERSION=    2.0
CATEGORIES= www
MASTER_SITES=   http://www.planetplanet.org/download/

MAINTAINER= alan@wave2.co.uk
COMMENT=    Planet is a flexible feed aggregator - and more!

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/mx/Tidy/Tidy.py:${PORTSDIR}/devel/py-mx-experimental \
        ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb

USE_BZIP2=  yes
NO_BUILD=   yes
USE_PYTHON= yes
SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

post-extract:
    @${RM}  ${WRKSRC}/.bzrignore
    @${FIND} ${WRKSRC}/ -type d -name '.bzr' | ${XARGS} ${RM} -rf

do-install:
    ${MKDIR} ${PREFIX}/share/planet
    ${CP} -R ${WRKSRC}/ ${PREFIX}/share/planet

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>