1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/deskutils/gourmet/Makefile
TAKATSU Tomonari 0cbe65e47c - Repocopy print/py-reportlab to print/py-reportlab1
to preserve version 1.x and to update to 3.0

  print/py-reportlab:
    - Update print/py-reportlab to 3.0 based on print/py-reportlab2
    - Support STAGEDIR
    - Use PYDISTUTILS_AUTOPLIST
      * Remove pkg-plist, accordingly
    - Set CONFLICTS
    - Add PORTSCOUT
    - Replace tab with a single space after WWW: in pkg-descr

  print/py-reportlab1:
    - Support STAGEDIR
    - Add PKGNAMESUFFIX not to duplicate ports with the same name
    - Set CONFLICTS
    - Use PYDISTUTILS_AUTOPLIST
      * Remove pkg-plist, accordingly
    - Make use of PORTDOCS
    - Set OPTIONS_DEFINE explicitly
    - Fix include statement
    - Make docs unconditional to stage
    - Replace tab with a single space after WWW: in pkg-descr

  print/py-reportlab2:
    - Update CONFLICTS
    - Set PORTSCOUT

  dependent ports:
    - Switch dependency from print/py-reportlab to print/py-reportlab1
      * biology/py-biopython
      * deskutils/gourmet
      * deskutils/griffith
      * games/pythonsudoku
      * misc/pdfmap
      * print/py-trml2pdf
      * www/py-satchmo

PR:		ports/186970
Submitted by:	tota (myself)
Approved by:	Muhammad Moinur Rahman (maintainer)
2014-02-25 12:44:10 +00:00

50 lines
1.6 KiB
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= gourmet
PORTVERSION= 0.16.0
PORTREVISION= 1
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}reportlab1>=0:${PORTSDIR}/print/py-reportlab1 \
${PYTHON_PKGNAMEPREFIX}elib.intl>0:${PORTSDIR}/textproc/py-elib.intl
MAN1= gourmet.1
PORTDOCS= FAQ LICENSE
PORTSCOUT= ignore:1
USE_BZIP2= yes
USES= gettext
USE_GNOME= pygnome2 pygnomeextras pygtk2
USE_PYTHON= 2
USE_PYDISTUTILS=yes
NO_STAGE= 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>