1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/graphics/libafterimage/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

66 lines
1.6 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: libAfterImage
# Date created: Oct 7, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libafterimage
PORTVERSION= 1.15
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF/afterstep
DISTNAME= libAfterImage-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic imaging library originally designed for AfterStep
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.9:${PORTSDIR}/print/freetype2
USE_GNOME= librsvg2
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_XORG= x11
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs \
--without-builtin-ungif --without-afterbase \
--with-x
USE_LDCONFIG= yes
MAN1= ascompose.1x
MAN3= ascmap.3x afterimage.3x ascompose.3x asflip.3x asfont.3x asgrad.3x \
asimage.3x asimagexml.3x asmerge.3x asscale.3x astext.3x astile.3x \
asview.3x asvisual.3x blender.3x char2uni.3x common.3x export.3x \
imencdec.3x import.3x transform.3x ximage.3x
.include <bsd.port.pre.mk>
.if ${MACHINE_CPU:Mmmx}
CONFIGURE_ARGS+= --enable-mmx-optimization
.else
CONFIGURE_ARGS+= --disable-mmx-optimization
.endif
post-extract:
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
pre-configure:
${REINPLACE_CMD} -e 's| malloc\.h | |g ; \
s|-lgif|-lungif|g ; \
s|CFLAGS="-O3"||g ; \
s| -rdynamic||' ${WRKSRC}/configure
post-install:
${INSTALL_MAN} ${WRKSRC}/apps/ascompose.man \
${MANPREFIX}/man/man1/ascompose.1x
.include <bsd.port.post.mk>