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

(-)graphics/sdl_image/Makefile (-5 / +12 lines)
Lines 13-23 COMMENT= Simple library to load images of various Link Here
13
13
14
LICENSE=	LGPL21
14
LICENSE=	LGPL21
15
15
16
LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
17
		libpng15.so:${PORTSDIR}/graphics/png \
18
		libtiff.so:${PORTSDIR}/graphics/tiff \
19
		libwebp.so:${PORTSDIR}/graphics/webp
20
21
USES=		gmake libtool pkgconfig pathfix
16
USES=		gmake libtool pkgconfig pathfix
22
USE_SDL=	sdl
17
USE_SDL=	sdl
23
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
Lines 25-30 CPPFLAGS+= -I${LOCALBASE}/include Link Here
25
LIBS+=		-L${LOCALBASE}/lib -lm
20
LIBS+=		-L${LOCALBASE}/lib -lm
26
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
27
22
23
OPTIONS_DEFINE=	JPEG PNG TIFF WEBP
24
OPTIONS_DEFAULT=JPEG PNG TIFF WEBP
25
26
JPEG_LIB_DEPENDS=libjpeg.so:${PORTSDIR}/graphics/jpeg
27
JPEG_CONFIGURE_ENABLE=jpg
28
PNG_LIB_DEPENDS=libpng15.so:${PORTSDIR}/graphics/png
29
PNG_CONFIGURE_ENABLE=png
30
TIFF_LIB_DEPENDS=libtiff.so:${PORTSDIR}/graphics/tiff
31
TIFF_CONFIGURE_ENABLE=tif
32
WEBP_LIB_DEPENDS=libwebp.so:${PORTSDIR}/graphics/webp
33
WEBP_CONFIGURE_ENABLE=webp
34
28
post-install:
35
post-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/.libs/showimage ${STAGEDIR}${PREFIX}/bin
36
	${INSTALL_PROGRAM} ${WRKSRC}/.libs/showimage ${STAGEDIR}${PREFIX}/bin
30
37
(-)graphics/sdl2_image/Makefile (-5 / +12 lines)
Lines 12-22 COMMENT= Simple library to load images of various Link Here
12
12
13
LICENSE=	ZLIB
13
LICENSE=	ZLIB
14
14
15
LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
16
		libpng15.so:${PORTSDIR}/graphics/png \
17
		libtiff.so:${PORTSDIR}/graphics/tiff \
18
		libwebp.so:${PORTSDIR}/graphics/webp
19
20
USES=		pkgconfig:build pathfix gmake libtool
15
USES=		pkgconfig:build pathfix gmake libtool
21
USE_SDL=	sdl2
16
USE_SDL=	sdl2
22
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
Lines 24-27 CPPFLAGS+= -I${LOCALBASE}/include Link Here
24
LDFLAGS+=	-L${LOCALBASE}/lib -lm
19
LDFLAGS+=	-L${LOCALBASE}/lib -lm
25
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
26
21
22
OPTIONS_DEFINE=	JPEG PNG TIFF WEBP
23
OPTIONS_DEFAULT=JPEG PNG TIFF WEBP
24
25
JPEG_LIB_DEPENDS=libjpeg.so:${PORTSDIR}/graphics/jpeg
26
JPEG_CONFIGURE_ENABLE=jpg
27
PNG_LIB_DEPENDS=libpng15.so:${PORTSDIR}/graphics/png
28
PNG_CONFIGURE_ENABLE=png
29
TIFF_LIB_DEPENDS=libtiff.so:${PORTSDIR}/graphics/tiff
30
TIFF_CONFIGURE_ENABLE=tif
31
WEBP_LIB_DEPENDS=libwebp.so:${PORTSDIR}/graphics/webp
32
WEBP_CONFIGURE_ENABLE=webp
33
27
.include <bsd.port.mk>
34
.include <bsd.port.mk>

Return to bug 195987