spaces. Upstream keeps tweaking the boolean handling, but this still blows up with most C++ code, so we revert it again to the status quo from version 8.
34 lines
847 B
Makefile
34 lines
847 B
Makefile
# $OpenBSD: Makefile,v 1.50 2014/07/13 13:20:43 naddy Exp $
|
|
|
|
COMMENT= IJG's JPEG compression utilities#'
|
|
|
|
V= 9a
|
|
DISTNAME= jpeg-$V
|
|
SHARED_LIBS= jpeg 67.0 # 10.0
|
|
CATEGORIES= graphics
|
|
DPB_PROPERTIES= parallel
|
|
HOMEPAGE= http://www.ijg.org/
|
|
|
|
# BSD-style
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://www.ijg.org/files/
|
|
DISTFILES= jpegsrc.v$V.tar.gz
|
|
|
|
WANTLIB= c
|
|
|
|
SEPARATE_BUILD= Yes
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
|
# Symbol versioning triggers weird linking problems in dependent ports.
|
|
CONFIGURE_ARGS+=--disable-ld-version-script
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/jpeg
|
|
${INSTALL_DATA} ${WRKSRC}/libjpeg.txt ${WRKSRC}/wizard.txt \
|
|
${PREFIX}/share/doc/jpeg
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/jpeg
|
|
${INSTALL_DATA} ${WRKSRC}/example.c ${PREFIX}/share/examples/jpeg
|
|
|
|
.include <bsd.port.mk>
|