1999-03-16 19:44:07 +00:00
|
|
|
# New ports collection makefile for: py-gnome
|
|
|
|
# Version required: 1.0.1
|
|
|
|
# Date created: 03/14/1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1998-06-02 07:41:06 +00:00
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1998-06-02 07:41:06 +00:00
|
|
|
#
|
|
|
|
|
1999-05-27 02:25:24 +00:00
|
|
|
DISTNAME= gnome-python-1.0.3
|
|
|
|
PKGNAME= py-gnome-1.0.3
|
1999-03-16 19:44:07 +00:00
|
|
|
CATEGORIES= x11-toolkits python gnome
|
1998-08-07 07:48:16 +00:00
|
|
|
MASTER_SITES= ftp://ftp.daa.com.au/pub/james/python/ \
|
|
|
|
ftp://ftp.gimp.org/pub/gtk/python/ \
|
1998-06-03 07:19:51 +00:00
|
|
|
ftp://infosoc.uni-koeln.de/pub/ftp.gimp.org/pub/gtk/python/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/python/ \
|
|
|
|
ftp://stef.u-picardie.fr/mirror/ftp.gimp.org/gtk/python/
|
1998-06-02 07:41:06 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= nectar@FreeBSD.org
|
1998-10-15 14:31:45 +00:00
|
|
|
|
1998-06-02 07:41:06 +00:00
|
|
|
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
|
1999-05-30 03:44:37 +00:00
|
|
|
LIB_DEPENDS= capplet.1:${PORTSDIR}/sysutils/gnomecontrolcenter
|
1998-06-02 07:41:06 +00:00
|
|
|
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
1998-08-07 19:20:19 +00:00
|
|
|
|
1999-05-30 03:44:37 +00:00
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
|
1998-06-02 07:41:06 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-03-15 03:17:10 +00:00
|
|
|
USE_GMAKE= yes
|
1999-05-30 03:44:37 +00:00
|
|
|
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
|
1999-03-16 19:44:07 +00:00
|
|
|
PLIST= ${WRKSRC}/PLIST
|
1998-06-02 07:41:06 +00:00
|
|
|
|
1999-03-16 19:44:07 +00:00
|
|
|
DOCDIR= share/doc/py-gnome
|
|
|
|
DOCFILES= README:py-gnome.README pygtk/README:py-gtk.README \
|
|
|
|
pygtk/MAPPING:MAPPING.py-gtk
|
1999-03-15 03:17:10 +00:00
|
|
|
|
1999-03-16 19:44:07 +00:00
|
|
|
EGDIR= share/examples/py-gnome
|
|
|
|
EGSUBDIRS= gnome gtk gtk/glade gtk/ide gtk/imlib gtk/neil \
|
|
|
|
gtk/simple gtk/testgtk
|
|
|
|
EGGNOME= canvas.py fifteen.py html_demo.py stock_demo.py \
|
|
|
|
ted_demo.py uiinfo_demo.py zterm.py
|
|
|
|
EGGTK= glade/README glade/test2.glade glade/glade.py \
|
1999-03-15 03:17:10 +00:00
|
|
|
glade/test.glade ide/gtkcons.py ide/gtkdb.py \
|
|
|
|
ide/edit.py ide/browse.py ide/minibreak.xpm ide/README \
|
|
|
|
ide/gtkprof.py ide/pyide.py ide/break.xpm \
|
|
|
|
ide/return.xpm ide/next.xpm ide/continue.xpm \
|
|
|
|
ide/step.xpm ide/edit.xpm ide/run.xpm ide/quit.xpm \
|
|
|
|
imlib/view.py neil/TAppli.py neil/TAppli2.py \
|
|
|
|
neil/TAppli3.py neil/TAppli4.py neil/TAppli5.py \
|
|
|
|
neil/bomb.xpm neil/gtk-logo.xpm neil/question.xpm \
|
|
|
|
neil/notebook.py neil/README simple/hello1.py \
|
|
|
|
simple/hello2.py simple/simple1.py simple/simple2.py \
|
|
|
|
simple/tooltip1.py simple/tooltip2.py \
|
|
|
|
simple/scribble.py simple/dnd.py simple/dndpixmap.py \
|
|
|
|
simple/README testgtk/testgtk.py testgtk/test.xpm \
|
|
|
|
testgtk/testgtkrc testgtk/README
|
|
|
|
|
1999-03-16 19:44:07 +00:00
|
|
|
SORT?= sort
|
1999-02-22 21:59:16 +00:00
|
|
|
|
1999-03-16 19:44:07 +00:00
|
|
|
# Examples and docs are added to the packing list on the fly.
|
1999-03-15 03:17:10 +00:00
|
|
|
pre-install:
|
|
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST}
|
|
|
|
@${CP} /dev/null ${PLIST}.dirrm
|
1999-03-16 19:44:07 +00:00
|
|
|
.for d in ${EGSUBDIRS}
|
|
|
|
@${MKDIR} ${PREFIX}/${EGDIR}/${d}
|
|
|
|
@${ECHO} @dirrm ${EGDIR}/${d} >> ${PLIST}.dirrm
|
1999-03-15 03:17:10 +00:00
|
|
|
.endfor
|
1999-03-16 19:44:07 +00:00
|
|
|
@${ECHO} @dirrm ${EGDIR} >> ${PLIST}.dirrm
|
|
|
|
.for f in ${EGGNOME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pygnome/examples/${f} \
|
|
|
|
${PREFIX}/${EGDIR}/gnome/${f}
|
|
|
|
@${ECHO} ${EGDIR}/gnome/${f} >> ${PLIST}
|
|
|
|
.endfor
|
|
|
|
.for f in ${EGGTK}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pygtk/examples/${f} \
|
|
|
|
${PREFIX}/${EGDIR}/gtk/${f}
|
|
|
|
@${ECHO} ${EGDIR}/gtk/${f} >> ${PLIST}
|
1999-03-15 03:17:10 +00:00
|
|
|
.endfor
|
1998-06-02 07:41:06 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
1999-03-15 03:17:10 +00:00
|
|
|
@${MKDIR} ${PREFIX}/${DOCDIR}
|
|
|
|
@${ECHO} @dirrm ${DOCDIR} >> ${PLIST}.dirrm
|
1999-03-16 19:44:07 +00:00
|
|
|
@for i in ${DOCFILES}; do \
|
|
|
|
src=`${ECHO} $$i | ${AWK} -F: '{ print $$1 }'`; \
|
|
|
|
dst=`${ECHO} $$i | ${AWK} -F: '{ print $$2 }'`; \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$src \
|
|
|
|
${PREFIX}/${DOCDIR}/$$dst && \
|
|
|
|
${ECHO} ${DOCDIR}/$$dst >> ${PLIST}; \
|
|
|
|
done
|
1998-06-02 07:41:06 +00:00
|
|
|
.endif
|
1999-03-15 03:17:10 +00:00
|
|
|
@${SORT} -r ${PLIST}.dirrm >> ${PLIST}
|
1998-06-02 07:41:06 +00:00
|
|
|
|
1998-12-31 05:40:14 +00:00
|
|
|
.include <bsd.port.mk>
|