blob: 4810019192f1252c2ceb49ca6811123e6cacdff3 (
plain)
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
|
# New ports collection makefile for: gmail-notify
# Date created: 07 June 2005
# Whom: David
#
# $FreeBSD$
#
PORTNAME= gmail-notify
PORTVERSION= 1.6.1
PORTREVISION= 1
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= djulien.bsd@gmail.com
COMMENT= GMail Notifier
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/x11-toolkits/py-gnome-extras:extract
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_REINPLACE= yes
USE_GMAKE= yes
.include <bsd.port.pre.mk>
WRKSRC= ${WRKDIR}/${PORTNAME}
EXTRAS_WRKSRC!= cd ${PORTSDIR}/x11-toolkits/py-gnome-extras && ${MAKE} -V WRKSRC
post-patch:
${SED} -e 's|@DATADIR@|${DATADIR}|' ${FILESDIR}/gmail-notifier > ${WRKSRC}/gmail-notifier
pre-configure:
${CP} ${EXTRAS_WRKSRC}/egg/tray/eggtrayicon.[ch] ${EXTRAS_WRKSRC}/egg/tray/trayicon* ${WRKSRC}
${CP} ${FILESDIR}/config.h ${FILESDIR}/Makefile ${WRKSRC}
${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}
.include <bsd.port.post.mk>
|