freebsd-ports/graphics/libcaca/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

69 lines
1.6 KiB
Makefile

# New ports collection makefile for: libcaca
# Date created: 11 January 2004
# Whom: Vincent Tantardini <vinc@FreeBSD-fr.org>
#
# $FreeBSD$
#
PORTNAME= libcaca
DISTVERSION= 0.99.beta13
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://caca.zoy.org/raw-attachment/wiki/libcaca/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Graphics library that outputs text instead of pixels
USE_GNOME= gnomehack gnometarget ltverhack pkgconfig
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:22
CONFIGURE_ARGS= --disable-doc \
--enable-ncurses \
--disable-csharp \
--disable-ruby
DOCS= AUTHORS COPYING COPYING.GPL COPYING.LGPL ChangeLog NEWS \
NOTES README THANKS TODO
MAN1= caca-config.1 cacafire.1 cacaplay.1 cacaserver.1 cacaview.1 \
img2txt.1
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+=--disable-x11
.else
USE_XORG= x11
.endif
.if defined(WITHOUT_IMLIB2)
CONFIGURE_ARGS+=--disable-imlib2
.else
USE_EFL+= imlib2
.endif
.include <bsd.port.pre.mk>
.if defined(WITH_SLANG)
. if exists(${LOCALBASE}/lib/libslang.so.1)
LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang
. else
LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
. endif
CONFIGURE_ARGS+=--enable-slang
.else
CONFIGURE_ARGS+=--disable-slang
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-g -O2 ||g ; s| -fomit-frame-pointer||g ; \
s|arpa\/inet.h ||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|: install-docDATA|:|g ; s| csharp||g' \
${WRKSRC}/Makefile.in
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>