diff options
Diffstat (limited to 'editors/gedit2/Makefile')
-rw-r--r-- | editors/gedit2/Makefile | 44 |
1 files changed, 11 insertions, 33 deletions
diff --git a/editors/gedit2/Makefile b/editors/gedit2/Makefile index 366d7207edce..7025272d0e2c 100644 --- a/editors/gedit2/Makefile +++ b/editors/gedit2/Makefile @@ -6,49 +6,27 @@ # PORTNAME= gedit -PORTVERSION= 0.6.1 +PORTVERSION= 0.7.0 CATEGORIES= editors gnome -MASTER_SITES= http://gedit.pn.org/tar/ +MASTER_SITES= http://download.sourceforge.net/gedit/ MAINTAINER= ade@FreeBSD.org -LIB_DEPENDS= gnomeui.3:${PORTSDIR}/x11/gnomelibs +LIB_DEPENDS= gnomeui.3:${PORTSDIR}/x11/gnomelibs \ + gnomeprint.7:${PORTSDIR}/print/gnomeprint + +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -FETCH_BEFORE_ARGS= -b USE_X_PREFIX= yes -GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_LIBTOOL= yes + CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --with-gnome=${X11BASE} \ --datadir=${PREFIX}/share/gnome -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - GLIB_CONFIG="${LOCALBASE}/bin/glib12-config" \ - GTK_CONFIG="${X11BASE}/bin/gtk12-config" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" MAN1= gedit.1 -pre-install: - @ touch ${WRKSRC}/po/da.gmo -post-install: - @ ${MKDIR} ${PREFIX}/share/gnome/apps/Applications - @ ${MKDIR} ${PREFIX}/share/gnome/help/gedit - @ ${MKDIR} ${PREFIX}/share/gnome/help/gedit/C - @ ${MKDIR} ${PREFIX}/share/gnome/help/gedit/no - @ ${MV} ${PREFIX}/share/gnome/gnome/apps/Applications/gedit.desktop ${PREFIX}/share/gnome/apps/Applications - @ ${MV} ${PREFIX}/share/gnome/gnome/help/gedit/C/index.html ${PREFIX}/share/gnome/help/gedit/C - @ ${MV} ${PREFIX}/share/gnome/gnome/help/gedit/C/topic.dat ${PREFIX}/share/gnome/help/gedit/C - @ ${MV} ${PREFIX}/share/gnome/gnome/help/gedit/no/index.html ${PREFIX}/share/gnome/help/gedit/no - @ ${MV} ${PREFIX}/share/gnome/gnome/help/gedit/no/topic.dat ${PREFIX}/share/gnome/help/gedit/no - @ ${RMDIR} ${PREFIX}/share/gnome/gnome/apps/Applications - @ ${RMDIR} ${PREFIX}/share/gnome/gnome/apps - @ ${RMDIR} ${PREFIX}/share/gnome/gnome/help/gedit/C - @ ${RMDIR} ${PREFIX}/share/gnome/gnome/help/gedit/no - @ ${RMDIR} ${PREFIX}/share/gnome/gnome/help/gedit -.if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/gedit -.for file in AUTHORS COPYING ChangeLog FAQ INSTALL KNOWNBUGS README README.plugins THANKS TODO - @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gedit -.endfor -.endif - .include <bsd.port.mk> |