View | Details | Raw Unified | Return to bug 185933
Collapse All | Expand All

(-)graphics/libafterimage/Makefile (-23 / +18 lines)
Lines 11-27 Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Generic imaging library originally designed for AfterStep
12
COMMENT=	Generic imaging library originally designed for AfterStep
13
13
14
BROKEN=		Fails to build
15
16
LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
17
		gif.5:${PORTSDIR}/graphics/giflib \
18
		png15:${PORTSDIR}/graphics/png \
19
		tiff.4:${PORTSDIR}/graphics/tiff \
20
		freetype.9:${PORTSDIR}/print/freetype2
21
22
LICENSE=	LGPL21
14
LICENSE=	LGPL21
23
15
16
LIB_DEPENDS=	libgif.so:${PORTSDIR}/graphics/giflib \
17
		libjpeg.so:${PORTSDIR}/graphics/jpeg \
18
		libpng15.so:${PORTSDIR}/graphics/png \
19
		libtiff.so:${PORTSDIR}/graphics/tiff \
20
		libfreetype.so:${PORTSDIR}/print/freetype2
21
24
USE_BZIP2=	yes
22
USE_BZIP2=	yes
23
USES=		pkgconfig
25
USE_XORG=	xext
24
USE_XORG=	xext
26
USE_GNOME=	librsvg2
25
USE_GNOME=	librsvg2
27
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
Lines 31-60 Link Here
31
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
32
MAKE_JOBS_UNSAFE=	yes
31
MAKE_JOBS_UNSAFE=	yes
33
32
34
MAN1=		ascompose.1x
35
36
CPPFLAGS+=	-I${LOCALBASE}/include
33
CPPFLAGS+=	-I${LOCALBASE}/include
37
LDFLAGS+=	-L${LOCALBASE}/lib
34
LDFLAGS+=	-L${LOCALBASE}/lib
38
35
39
NO_STAGE=	yes
36
OPTIONS_DEFINE_amd64=	MMX
40
.include <bsd.port.pre.mk>
37
OPTIONS_DEFINE_i386=	MMX
38
39
MMX_CONFIGURE_ENABLE=	mmx-optimization
41
40
42
.if ${MACHINE_CPU:Mmmx}
41
.include <bsd.port.options.mk>
43
CONFIGURE_ARGS+=	--enable-mmx-optimization
44
.else
45
CONFIGURE_ARGS+=	--disable-mmx-optimization
46
.endif
47
42
48
post-extract:
43
post-extract:
49
	@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
44
	@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
50
45
51
post-patch:
46
post-patch:
52
	@${REINPLACE_CMD} -e 's|CFLAGS="-O3"||g ; \
47
	@${REINPLACE_CMD} -e \
53
		 s| malloc\.h | |g' \
48
		's|CFLAGS="-O3"||g ; \
54
		${WRKSRC}/configure
49
		 s| malloc\.h | |g' ${WRKSRC}/configure
55
50
56
post-install:
51
post-install:
57
	${INSTALL_MAN} ${WRKSRC}/apps/ascompose.man \
52
	(cd ${WRKSRC}/apps && ${INSTALL_MAN} ascompose.man \
58
		${MANPREFIX}/man/man1/ascompose.1x
53
		${STAGEDIR}${MANPREFIX}/man/man1/ascompose.1x)
59
54
60
.include <bsd.port.post.mk>
55
.include <bsd.port.mk>
(-)graphics/libafterimage/pkg-plist (-1 / +2 lines)
Lines 1-7 Link Here
1
bin/afterimage-config
1
bin/afterimage-config
2
bin/afterimage-libs
2
bin/afterimage-libs
3
bin/ascompose
4
bin/ascheckttf
3
bin/ascheckttf
4
bin/ascompose
5
bin/asflip
5
bin/asflip
6
bin/asgrad
6
bin/asgrad
7
bin/asi18n
7
bin/asi18n
Lines 37-40 Link Here
37
include/libAfterImage/xwrap.h
37
include/libAfterImage/xwrap.h
38
lib/libAfterImage.so
38
lib/libAfterImage.so
39
lib/libAfterImage.so.0
39
lib/libAfterImage.so.0
40
man/man1/ascompose.1x.gz
40
@dirrm include/libAfterImage
41
@dirrm include/libAfterImage

Return to bug 185933