openbsd-ports/graphics/imlib/Makefile
ajacoutot a08f3919de Sanitize some @unexec/@extraunexec calls to rm: move them up in the
PLIST and delete everything under the @sample'd directory instead of the
directory itself to prevent a warning from pkg_delete(1) trying to
remove a non existing directory and to help preventing left-over files
and directories.
2011-05-11 06:56:42 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.64 2011/05/11 06:56:43 ajacoutot Exp $
# $FreeBSD: Makefile,v 1.45 1999/03/09 01:08:57 nectar Exp $
COMMENT= image manipulation library for X11
V= 1.9.14
DISTNAME= imlib-${V}
REVISION = 9
SHARED_LIBS= Imlib 19.14 \
gdk_imlib 19.14
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/imlib/1.9/}
MODULES= devel/gettext
LIB_DEPENDS= x11/gtk+ \
graphics/jpeg \
graphics/libungif \
graphics/png \
graphics/tiff
WANTLIB= ICE SM X11 Xau Xdmcp Xext Xi c glib gmodule m \
pthread-stubs xcb z gtk>=1.2 gdk>=1.2 jpeg>=62 \
ungif>=5 png>=2 tiff>=35
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
USE_GROFF = Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-modules
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/aclocal
${INSTALL_DATA} ${WRKSRC}/imlib.m4 ${PREFIX}/share/aclocal
.include <bsd.port.mk>