freebsd-ports/x11-toolkits/libgtkeditor/Makefile
Maxim Sobolev 8ea52382c6 Unbroke.
Remove USE_AUTOMAKE and but back explicit dependency to devel/automake.
These ports aren't intended to be configured by automake, which USE_AUTOMAKE
does automagically. Instead they are just using some files from
${LOCALBASE}/share/automake.

Screwed by:	ade
Reported by:	bento
2001-06-05 17:51:20 +00:00

40 lines
986 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_GTK= yes
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>