blob: 5535823ba663a10a50ee7c3652d44569a9edaadd (
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
37
38
39
40
41
42
|
# Ports collection Makefile for: ljcharm
# Date created: 2003-02-26
# Whom: schmidtcarl@earthlink.net
#
# $FreeBSD$
#
PORTNAME= charm
PORTVERSION= 1.9.1
CATEGORIES= deskutils net
MASTER_SITES= SF/lj${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= seawolf@marinewolf.net
COMMENT= A menu-driven python-based livejournal client
MAN1=charm.1
MAN5=charmrc.5
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= 1.9.1
post-patch:
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's,share/doc/charm,${DOCSDIR},' ${WRKSRC}/setup.py
.else
${REINPLACE_CMD} -e '/data_files = /d' \
-e '/man\/man1/s,^[ ]*, data_files = [ ,' \
${WRKSRC}/setup.py
.endif
post-install:
.if !defined(NOPORTDOCS)
${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${DOCSDIR}/CHANGES
${INSTALL_DATA} ${WRKSRC}/README.charm ${DOCSDIR}/README
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample.charmrc ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|