2000-09-25 13:27:12 +02:00
|
|
|
# New ports collection makefile for: libgtkeditor
|
|
|
|
# Date created: 25 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgtkeditor
|
2001-02-05 17:49:17 +01:00
|
|
|
PORTVERSION= 0.1.8
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2000-09-25 13:27:12 +02:00
|
|
|
CATEGORIES= x11-toolkits editors
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:S/lib//}
|
|
|
|
DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
|
|
|
|
|
2003-07-29 11:12:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A source code editor widget for GTK+
|
2000-09-25 13:27:12 +02:00
|
|
|
|
2001-03-14 20:33:30 +01:00
|
|
|
LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode
|
2000-09-25 13:27:12 +02:00
|
|
|
|
2004-06-04 19:29:38 +02:00
|
|
|
WANT_AUTOMAKE_VER=15
|
|
|
|
WANT_AUTOCONF_VER=253
|
2000-09-25 13:27:12 +02:00
|
|
|
USE_X_PREFIX= yes
|
2002-09-02 05:58:24 +02:00
|
|
|
USE_GNOME= gtk12
|
2000-09-25 13:27:12 +02:00
|
|
|
USE_GMAKE= yes
|
2003-11-20 16:06:14 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2004-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER=13
|
2000-09-25 13:27:12 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2004-02-10 15:02:59 +01:00
|
|
|
CFLAGS+= -fPIC
|
2000-09-25 13:27:12 +02:00
|
|
|
|
2001-03-14 20:33:30 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-09-25 13:27:12 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2003-04-12 01:35:09 +02:00
|
|
|
CONFIGURE_TARGET= ${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2000-09-25 13:27:12 +02:00
|
|
|
|
|
|
|
pre-configure:
|
2003-07-11 08:38:09 +02:00
|
|
|
.for file in install-sh mkinstalldirs
|
2004-06-04 19:29:38 +02:00
|
|
|
@${LN} -sf ${AUTOMAKE_DIR}/${file} ${WRKSRC}/${file}
|
2000-09-25 13:27:12 +02:00
|
|
|
.endfor
|
2003-07-11 08:38:09 +02:00
|
|
|
@${RM} ${WRKSRC}/config.guess ${WRKSRC}/config.sub
|
|
|
|
@${TOUCH} ${WRKSRC}/config.sub
|
2000-09-25 13:27:12 +02:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/scanner.c
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${PREFIX}/include/tktext-port
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|