10 MAINTAINER= ports@FreeBSD.org
11 COMMENT= Real-time graphics effect able to increase the size of small bitmaps
15 LIB_DEPENDS= libpng.so:graphics/png
19 CPPFLAGS+= $$(libpng-config --I_opts)
20 LDFLAGS+= $$(libpng-config --L_opts)
23 PLIST_FILES= bin/scalex bin/scalerx \
24 man/man1/scalex.1.gz man/man1/scalerx.1.gz
26 OPTIONS_DEFINE= EXAMPLES
27 OPTIONS_DEFINE_i386= MMX
29 MMX_CPPFLAGS= -DHAVE_MMX
32 @${REINPLACE_CMD} -e \
34 s|__i386__|HAVE_MMX| ; \
35 s|__x86_64__|__amd64__|' ${WRKSRC}/*.[ch]
38 @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
39 (cd ${WRKSRC}/example && ${INSTALL_DATA} *.png \
40 ${STAGEDIR}${EXAMPLESDIR})
42 .include <bsd.port.mk>