1998-06-30 09:47:18 +00:00
|
|
|
# New ports collection makefile for: glade
|
1999-10-14 09:13:54 +00:00
|
|
|
# Version required: 0.5.3
|
1998-06-30 09:47:18 +00:00
|
|
|
# Date created: 29 June 1998
|
|
|
|
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-06-30 09:47:18 +00:00
|
|
|
#
|
|
|
|
|
1999-10-14 09:13:54 +00:00
|
|
|
DISTNAME= glade-0.5.3
|
1998-06-30 09:47:18 +00:00
|
|
|
CATEGORIES= devel
|
1998-10-10 14:35:09 +00:00
|
|
|
MASTER_SITES= http://glade.pn.org/
|
1998-06-30 09:47:18 +00:00
|
|
|
|
|
|
|
MAINTAINER= dom@myrddin.demon.co.uk
|
|
|
|
|
1999-10-14 09:13:54 +00:00
|
|
|
.if defined(USE_GNOME)
|
|
|
|
LIB_DEPENDS= gnome.3:${PORTSDIR}/x11/gnomelibs
|
|
|
|
PLIST_GNOME= ${PKGDIR}/PLIST.gnome
|
|
|
|
.else
|
1999-05-29 04:18:02 +00:00
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
1999-10-14 09:13:54 +00:00
|
|
|
CONFIGURE_ARGS= --disable-gnome
|
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST= ${WRKDIR}/PLIST
|
1999-05-29 04:18:02 +00:00
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
1998-06-30 09:47:18 +00:00
|
|
|
|
1999-06-22 16:38:47 +00:00
|
|
|
FETCH_BEFORE_ARGS= -b
|
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-05-29 04:18:02 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
LIBS="-L${LOCALBASE}/libs"
|
1998-06-30 09:47:18 +00:00
|
|
|
|
1999-10-14 09:13:54 +00:00
|
|
|
.if !defined(USE_GNOME)
|
|
|
|
pre-extract:
|
|
|
|
@${ECHO} "You can add hooks for GNOME by defining USE_GNOME"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.if !defined(USE_GNOME)
|
|
|
|
@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-nognome
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@sort -r -o ${PLIST} ${PLIST_GNOME} ${PKGDIR}/PLIST
|
|
|
|
|
1998-06-30 09:47:18 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/glade
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/glade
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/glade
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/developer.txt ${PREFIX}/share/doc/glade
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/file_format.txt ${PREFIX}/share/doc/glade
|
1998-09-17 04:41:41 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/generic.txt ${PREFIX}/share/doc/glade
|
1998-06-30 09:47:18 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/manual.txt ${PREFIX}/share/doc/glade
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/notes.txt ${PREFIX}/share/doc/glade
|
1998-09-17 04:41:41 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/portability.txt ${PREFIX}/share/doc/glade
|
1998-07-03 23:22:19 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/source_code.txt ${PREFIX}/share/doc/glade
|
1998-06-30 09:47:18 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|