mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libafterimage
|
|
PORTVERSION= 1.20
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/afterstep/libAfterImage/${PORTVERSION}
|
|
DISTNAME= libAfterImage-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Generic imaging library originally designed for AfterStep
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libpng15.so:${PORTSDIR}/graphics/png \
|
|
libtiff.so:${PORTSDIR}/graphics/tiff \
|
|
libfreetype.so:${PORTSDIR}/print/freetype2
|
|
|
|
USES= pkgconfig tar:bzip2
|
|
USE_XORG= xext
|
|
USE_GNOME= librsvg2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs \
|
|
--without-builtin-ungif --without-afterbase \
|
|
--with-x
|
|
USE_LDCONFIG= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE_amd64= MMX
|
|
OPTIONS_DEFINE_i386= MMX
|
|
|
|
MMX_CONFIGURE_ENABLE= mmx-optimization
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-extract:
|
|
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|CFLAGS="-O3"||g ; \
|
|
s| malloc\.h | |g' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
(cd ${WRKSRC}/apps && ${INSTALL_MAN} ascompose.man \
|
|
${STAGEDIR}${MANPREFIX}/man/man1/ascompose.1x)
|
|
|
|
.include <bsd.port.mk>
|