openbsd-ports/graphics/jpeg/Makefile
2010-10-18 18:13:12 +00:00

38 lines
949 B
Makefile

# $OpenBSD: Makefile,v 1.37 2010/10/18 18:13:14 espie Exp $
COMMENT= IJG's JPEG compression utilities
V= 8b
DISTNAME= jpeg-$V
SHARED_LIBS= jpeg 64.0 # .8.2
CATEGORIES= graphics
HOMEPAGE= http://www.ijg.org/
# BSD-style
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}files/
DISTFILES= jpegsrc.v$V.tar.gz
WANTLIB= c
SEPARATE_BUILD= simple
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --disable-silent-rules
# 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>