1999-06-06 17:55:43 +00:00
|
|
|
# New ports collection makefile for: gedit
|
1999-12-23 13:42:35 +00:00
|
|
|
# Version required: 0.6.1
|
1999-06-06 17:55:43 +00:00
|
|
|
# Date created: 4 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1999-06-06 17:55:43 +00:00
|
|
|
#
|
|
|
|
|
1999-12-23 13:42:35 +00:00
|
|
|
DISTNAME= gedit-0.6.1
|
1999-11-21 00:41:57 +00:00
|
|
|
CATEGORIES= editors gnome
|
|
|
|
MASTER_SITES= http://www.oscentral.org/files/software/ \
|
|
|
|
http://gedit.pn.org/tar/ \
|
|
|
|
ftp://ftp.oscentral.org/pub/software/
|
1999-06-06 17:55:43 +00:00
|
|
|
|
1999-11-21 00:41:57 +00:00
|
|
|
MAINTAINER= andy@icc.surw.chel.su
|
1999-06-06 17:55:43 +00:00
|
|
|
|
1999-10-18 02:24:18 +00:00
|
|
|
LIB_DEPENDS= gnomeui.3:${PORTSDIR}/x11/gnomelibs
|
1999-06-06 17:55:43 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= 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" \
|
1999-08-01 02:52:58 +00:00
|
|
|
GTK_CONFIG="${X11BASE}/bin/gtk12-config" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-06-06 17:55:43 +00:00
|
|
|
|
|
|
|
MAN1= gedit.1
|
|
|
|
|
1999-11-21 00:41:57 +00:00
|
|
|
pre-install:
|
|
|
|
@ touch ${WRKSRC}/po/da.gmo
|
1999-06-06 17:55:43 +00:00
|
|
|
post-install:
|
1999-08-01 02:52:58 +00:00
|
|
|
@ ${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
|
1999-06-06 17:55:43 +00:00
|
|
|
@ ${MV} ${PREFIX}/share/gnome/gnome/apps/Applications/gedit.desktop ${PREFIX}/share/gnome/apps/Applications
|
1999-08-01 02:52:58 +00:00
|
|
|
@ ${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
|
1999-06-06 17:55:43 +00:00
|
|
|
@ ${RMDIR} ${PREFIX}/share/gnome/gnome/apps/Applications
|
|
|
|
@ ${RMDIR} ${PREFIX}/share/gnome/gnome/apps
|
1999-08-01 02:52:58 +00:00
|
|
|
@ ${RMDIR} ${PREFIX}/share/gnome/gnome/help/gedit/C
|
|
|
|
@ ${RMDIR} ${PREFIX}/share/gnome/gnome/help/gedit/no
|
|
|
|
@ ${RMDIR} ${PREFIX}/share/gnome/gnome/help/gedit
|
1999-06-06 17:55:43 +00:00
|
|
|
.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>
|