aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/py-dosage/Makefile
blob: 33d9f6f9717c6e0f23e22e42758fd45a5c74515d (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
# New ports collection makefile for:    dosage
# Date created:             6 February 2005
# Whom:                 antoine.brodin@laposte.net
#
# $FreeBSD$
#

PORTNAME=   dosage
PORTVERSION=    1.5.4
CATEGORIES= deskutils python
MASTER_SITES=   http://slipgate.za.net/dosage/downloads/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= antoine.brodin@laposte.net
COMMENT=    An application to keep a local mirror of web comics

USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_REINPLACE=  yes

MAN1=       mainline.1

post-patch:
    @${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' \
    ${WRKSRC}/doc/mainline.1 \
    ${WRKSRC}/dosage/modules/__init__.py

post-install:
    ${INSTALL_MAN} ${WRKSRC}/doc/mainline.1 ${PREFIX}/man/man1

.include <bsd.port.mk>