1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/devel/gide/Makefile
1999-11-29 02:37:54 +00:00

44 lines
994 B
Makefile

# New ports collection makefile for: gIDE
# Version required: 0.1.5
# Date created: 29 Jul 1998
# Whom: rom
#
# $FreeBSD$
#
DISTNAME= gIDE-0.1.5
PKGNAME= gide-0.1.5
CATEGORIES= devel gnome
MASTER_SITES= http://gide.gdev.net/ \
http://gide.pn.org/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnomeui.3:${PORTSDIR}/x11/gnomelibs \
guile.6:${PORTSDIR}/lang/guile
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
FETCH_BEFORE_ARGS= -b
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
--with-gnome=${PREFIX}
MAN1= gide.1 gdbio.1
post-patch:
@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/*.c
@${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/src/*.c
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>