blob: 5141102a12c7cc4c8e0c56a39506abde87580d0f (
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
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= gourmet
PORTVERSION= 0.16.0
CATEGORIES= deskutils gnome
MASTER_SITES= https://launchpadlibrarian.net/133161899/
MAINTAINER= rm@FreeBSD.org
COMMENT= GNOME recipe manager
LICENSE= GPLv2
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distutils-extra>0:${PORTSDIR}/devel/py-distutils-extra
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0:${PORTSDIR}/databases/py-sqlalchemy \
${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging \
${PYTHON_PKGNAMEPREFIX}poppler>=0:${PORTSDIR}/graphics/py-poppler \
${PYTHON_PKGNAMEPREFIX}rtf>=0:${PORTSDIR}/print/py-rtf \
${PYTHON_PKGNAMEPREFIX}reportlab>=0:${PORTSDIR}/print/py-reportlab \
${PYTHON_PKGNAMEPREFIX}elib.intl>0:${PORTSDIR}/textproc/py-elib.intl
MAN1= gourmet.1
PORTDOCS= FAQ LICENSE
PORTSCOUT= ignore:1
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GNOME= pygnome2 pygnomeextras pygtk2
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
${WRKSRC}/gourmet/backends/db.py \
${WRKSRC}/gourmet/gtk_extras/chooserNotebook.py \
${WRKSRC}/gourmet/gtk_extras/mnemonic_manager.py \
${WRKSRC}/gourmet/plugins/import_export/pdf_plugin/print_plugin.py \
${WRKSRC}/gourmet/plugins/nutritional_information/nutritionDisplay.py \
${WRKSRC}/gourmet/plugins/nutritional_information/nutrition.py \
${WRKSRC}/gourmet/plugins/web_plugin/gourmetweb/manage.py \
${WRKSRC}/tools/backup_gourmet_to_xml.py
post-install:
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>
|