blob: bb6a1f683ecabb9d75de51170b22a38874148e4c (
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
43
44
45
46
47
48
49
50
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= myBudget
PORTVERSION= 0.60
PORTREVISION= 9
CATEGORIES= finance gnome
MASTER_SITES= http://www.abisource.com/~msevior/
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk+-2 finance manager
LICENSE= LGPL21
NO_ARCH= yes
NO_BUILD= yes
USE_GNOME= pygnome2
INSTALL_ICONS= yes
USES= python shebangfix
SHEBANG_FILES= myBudget.py
python_CMD= ${PYTHON_CMD}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
"/^sPREFIX/s|=.*| = '${PREFIX}/share'|" ${WRKSRC}/myBudget.py
do-install:
(cd ${WRKSRC} && ${INSTALL_SCRIPT} myBudget.py \
${STAGEDIR}${PREFIX}/bin/myBudget)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} *.myb *.png *.txt \
${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${DATADIR}/glade
(cd ${WRKSRC}/glade && ${INSTALL_DATA} *.* \
${STAGEDIR}${DATADIR}/glade)
@${MKDIR} ${STAGEDIR}${DATADIR}/po
(cd ${WRKSRC}/po && ${INSTALL_DATA} *.po \
${STAGEDIR}${DATADIR}/po)
(cd ${WRKSRC} && ${INSTALL_DATA} *.desktop \
${STAGEDIR}${PREFIX}/share/applications)
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
(cd ${WRKSRC} && ${INSTALL_DATA} *.svg \
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|