freebsd-ports/x11-toolkits/libgtkeditor/Makefile
Mario Sergio Fujikawa Ferreira c4e8cae589 Deploy USE_GNOMENG infrastructure
PR:		42309
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2002-09-02 03:58:24 +00:00

41 lines
1,007 B
Makefile

# New ports collection makefile for: libgtkeditor
# Date created: 25 September 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libgtkeditor
PORTVERSION= 0.1.8
CATEGORIES= x11-toolkits editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/lib//}
DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/share/automake/install-sh:${PORTSDIR}/devel/automake
LIB_DEPENDS= unicode.0:${PORTSDIR}/devel/libunicode
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-configure:
.for file in install-sh config.sub mkinstalldirs
@${LN} -sf ${LOCALBASE}/share/automake/${file} ${WRKSRC}/${file}
.endfor
post-configure:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/scanner.c
pre-install:
@${MKDIR} ${PREFIX}/include/tktext-port
.include <bsd.port.mk>