- fill the examples directories with some source files, instead of
installing three mager executeables.
This commit is contained in:
parent
57a7e9782b
commit
f2fe42734d
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2011/03/30 09:27:58 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/03/30 09:49:04 jasper Exp $
|
||||
|
||||
COMMENT= library for powerful image loading capabilities
|
||||
|
||||
DISTNAME= DevIL-1.7.8
|
||||
REVISION= 0
|
||||
SHARED_LIBS+= IL 0.0 # 2.0
|
||||
|
||||
CATEGORIES= graphics devel
|
||||
@ -31,8 +32,9 @@ USE_LIBTOOL= Yes
|
||||
AUTOCONF_VERSION= 2.61
|
||||
CONFIGURE_STYLE= autoconf gnu
|
||||
CONFIGURE_ARGS+= --with-squish=no \
|
||||
--with-examples=no \
|
||||
--with-zlib=yes
|
||||
# This would only install three binary examples, we'll install it manually.
|
||||
CONFIGURE_ARGS+= --with-examples=no
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng/ -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lm -lz"
|
||||
|
||||
@ -48,4 +50,8 @@ post-extract:
|
||||
post-configure:
|
||||
chmod +x ${WRKDIST}/build-aux/install-sh
|
||||
|
||||
post-install:
|
||||
@cd ${WRKSRC}; tar cf - examples | tar xf - -C \
|
||||
${PREFIX}/share/devil/examples/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/30 09:27:58 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/03/30 09:49:04 jasper Exp $
|
||||
%%SHARED%%
|
||||
include/IL/
|
||||
include/IL/devil_cpp_wrapper.hpp
|
||||
@ -10,3 +10,37 @@ lib/pkgconfig/
|
||||
lib/pkgconfig/IL.pc
|
||||
share/devil/
|
||||
share/devil/examples/
|
||||
share/devil/examples/examples/
|
||||
share/devil/examples/examples/allegro_example/
|
||||
share/devil/examples/examples/allegro_example/allegtest.c
|
||||
share/devil/examples/examples/animation_example/
|
||||
share/devil/examples/examples/animation_example/AnimTest.cpp
|
||||
share/devil/examples/examples/animation_example/AnimTest.rc
|
||||
share/devil/examples/examples/animation_example/OpenIL.ico
|
||||
share/devil/examples/examples/animation_example/resource.h
|
||||
share/devil/examples/examples/cpp_wrapper_example/
|
||||
share/devil/examples/examples/cpp_wrapper_example/il_wrap.cpp
|
||||
share/devil/examples/examples/direct3d_example/
|
||||
share/devil/examples/examples/direct3d_example/d3dtest.cpp
|
||||
share/devil/examples/examples/opengl_example/
|
||||
share/devil/examples/examples/opengl_example/gltest.c
|
||||
share/devil/examples/examples/opengl_example/gltest.h
|
||||
share/devil/examples/examples/override_example/
|
||||
share/devil/examples/examples/override_example/iotest.c
|
||||
share/devil/examples/examples/register_read_example/
|
||||
share/devil/examples/examples/register_read_example/readtest.c
|
||||
share/devil/examples/examples/sdl_example/
|
||||
share/devil/examples/examples/sdl_example/sdl_test.c
|
||||
share/devil/examples/examples/simple_example/
|
||||
share/devil/examples/examples/simple_example/simple.c
|
||||
share/devil/examples/examples/volume_example/
|
||||
share/devil/examples/examples/volume_example/3dtest.c
|
||||
share/devil/examples/examples/volume_example/3dtest.h
|
||||
share/devil/examples/examples/windows_example/
|
||||
share/devil/examples/examples/windows_example/BatchConv.cpp
|
||||
share/devil/examples/examples/windows_example/WindowsTest.cpp
|
||||
share/devil/examples/examples/windows_example/WindowsTest.h
|
||||
share/devil/examples/examples/windows_example/WindowsTest.rc
|
||||
share/devil/examples/examples/windows_example/resource.h
|
||||
share/devil/examples/examples/windows_example/resources/
|
||||
share/devil/examples/examples/windows_example/resources/OpenIL.ico
|
||||
|
Loading…
Reference in New Issue
Block a user