mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
# New ports collection makefile for: anjuta
|
|
# Date created: 31 March 2001
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= anjuta
|
|
PORTVERSION= 1.2.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= anjuta
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Integrated Development Environment for C and C++
|
|
|
|
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
|
RUN_DEPENDS= ${LOCALBASE}/gnu-autotools/bin/autoconf:${PORTSDIR}/devel/gnu-autoconf \
|
|
${LOCALBASE}/gnu-autotools/bin/automake:${PORTSDIR}/devel/gnu-automake \
|
|
${LOCALBASE}/gnu-autotools/bin/libtool:${PORTSDIR}/devel/gnu-libtool
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_GMAKE= yes
|
|
INSTALLS_OMF= yes
|
|
USE_REINPLACE= yes
|
|
USE_GNOME= gnomeprefix gnomehack libgnomeprintui libgnomeui vte
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_GCC= 3.4+
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
MAN1= anjuta.1 anjuta_launcher.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
IGNORE= Uses symbols not available on 4.X
|
|
.endif
|
|
|
|
post-configure:
|
|
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
|
s|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/anjuta \
|
|
> ${WRKDIR}/anjuta
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/applogo.png \
|
|
${PREFIX}/share/gnome/anjuta/glade
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in AUTHORS COPYING ChangeLog FUTURE INSTALL NEWS README \
|
|
doc/ScintillaDoc.html TODO
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
${MV} ${PREFIX}/bin/anjuta ${PREFIX}/bin/anjuta-bin
|
|
${INSTALL_SCRIPT} ${WRKDIR}/anjuta ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|