mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
29747f458a
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# New ports collection makefile for: straw
|
|
# Date created: 06 March 2003
|
|
# Whom: Mezz <mezz7@cox.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= straw
|
|
PORTVERSION= 0.25.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= net gnome
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A GNOME 2 desktop weblog aggregator written in Python
|
|
|
|
BROKEN= Does not work with the newer GTK/GNOME python bindings
|
|
|
|
USE_GMAKE= yes
|
|
USE_XLIB= yes
|
|
USE_GNOME= gnomehier libglade2 pygnome2 pygnomeextras
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \
|
|
--install-lib=${PREFIX}/share/gnome \
|
|
--with-desktop-file-dir=share/gnome/applications
|
|
|
|
GCONF_SCHEMAS= straw.schemas
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# pybsddb ships with python 2.3
|
|
.if ${PYTHON_REL} < 230
|
|
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb3
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb3
|
|
.else
|
|
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \
|
|
${WRKSRC}/src/straw
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|