2005-07-20 22:51:42 +02:00
|
|
|
# New ports collection makefile for: gmail-notify
|
|
|
|
# Date created: 07 June 2005
|
|
|
|
# Whom: David
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gmail-notify
|
2008-04-09 10:42:02 +02:00
|
|
|
PORTVERSION= 1.6.1.1
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 2
|
2005-07-20 22:51:42 +02:00
|
|
|
CATEGORIES= mail python
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2005-07-20 22:51:42 +02:00
|
|
|
|
2008-04-09 10:42:02 +02:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2005-07-20 22:51:42 +02:00
|
|
|
COMMENT= GMail Notifier
|
|
|
|
|
2005-09-30 15:26:44 +02:00
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/x11-toolkits/py-gnome-extras:extract
|
2005-07-20 22:51:42 +02:00
|
|
|
|
|
|
|
USE_GNOME= pygtk2
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2005-09-30 15:26:44 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2005-07-20 22:51:42 +02:00
|
|
|
|
2005-09-30 15:26:44 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
EXTRAS_WRKSRC!= cd ${PORTSDIR}/x11-toolkits/py-gnome-extras && ${MAKE} -V WRKSRC
|
2005-07-20 22:51:42 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${SED} -e 's|@DATADIR@|${DATADIR}|' ${FILESDIR}/gmail-notifier > ${WRKSRC}/gmail-notifier
|
2007-07-30 11:42:28 +02:00
|
|
|
${SED} -e 's|@PYTHON_INCLUDEDIR@|${PYTHON_INCLUDEDIR}|' ${FILESDIR}/Makefile.in > ${WRKSRC}/Makefile
|
2005-07-20 22:51:42 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${CP} ${EXTRAS_WRKSRC}/egg/tray/eggtrayicon.[ch] ${EXTRAS_WRKSRC}/egg/tray/trayicon* ${WRKSRC}
|
2007-07-30 11:42:28 +02:00
|
|
|
${CP} ${FILESDIR}/config.h ${WRKSRC}
|
2005-07-20 22:51:42 +02:00
|
|
|
${RM} ${WRKSRC}/pytrayicon.so
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/gmail-notifier ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.py ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.png ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.jpg ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.so ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/langs.xml ${DATADIR}
|
|
|
|
|
2005-09-30 15:26:44 +02:00
|
|
|
.include <bsd.port.post.mk>
|