mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
Move allegro-devel to allegro; 4.4 is hardly a devel version any more.
Minor fix required in emulators/o2em. Remove allegrogl, which is broken and included in allegro-4.4 anyway. Update allegro-devel to 5.0.7 [1] PR: ports/172981 [1] Submitted by: nemysis <nemysis@gmx.ch> [1]
This commit is contained in:
parent
e7ede9d9fb
commit
313dd0e205
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323734
35 changed files with 3588 additions and 2132 deletions
1
MOVED
1
MOVED
|
@ -4448,3 +4448,4 @@ sysutils/rsyslog6-devel-relp|sysutils/rsyslog7|2013-07-25|Has expired: Use sysut
|
|||
sysutils/rsyslog6-devel-dbi|sysutils/rsyslog7|2013-07-25|Has expired: Use sysutils/rsyslog7
|
||||
sysutils/rsyslog6-devel-gssapi|sysutils/rsyslog7|2013-07-25|Has expired: Use sysutils/rsyslog7
|
||||
sysutils/rsyslog6-devel|sysutils/rsyslog7|2013-07-25|Has expired: Use sysutils/rsyslog7
|
||||
graphics/allegrogl||2013-07-26|Now part of devel/allegro
|
||||
|
|
|
@ -1,56 +1,88 @@
|
|||
# Created by: nemysis@gmx.ch
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= allegro
|
||||
DISTVERSION= 4.4.2
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 5.0.7
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
|
||||
PKGNAMESUFFIX= -devel
|
||||
PKGNAMESUFFIX= -devel5
|
||||
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
COMMENT= Cross-platform library for games and multimedia programming
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib \
|
||||
jack.0:${PORTSDIR}/audio/jack \
|
||||
png15:${PORTSDIR}/graphics/png \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
vorbis:${PORTSDIR}/audio/libvorbis \
|
||||
FLAC:${PORTSDIR}/audio/flac \
|
||||
physfs.1:${PORTSDIR}/devel/physfs
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/pandoc:${PORTSDIR}/textproc/hs-pandoc
|
||||
|
||||
USE_GMAKE= yes
|
||||
USES= cmake pkgconfig
|
||||
USE_CMAKE= yes
|
||||
USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga
|
||||
USE_LDCONFIG= yes
|
||||
USE_PKGCONFIG= build
|
||||
WANT_GNOME= yes
|
||||
USE_OPENAL= soft
|
||||
USE_GL= gl glu
|
||||
USE_FREETYPE= yes
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
CONFLICTS= allegro-[0-9]*
|
||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
||||
CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}"
|
||||
|
||||
SHLIB_VER= 4.4.2
|
||||
SHLIB_VER= 5.0.7
|
||||
|
||||
PORTSCOUT= limit:^4\.3\.[0-9]*
|
||||
|
||||
CFLAGS+= -L${LOCALBASE}/lib
|
||||
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib \
|
||||
jack.0:${PORTSDIR}/audio/jack \
|
||||
png15:${PORTSDIR}/graphics/png
|
||||
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
||||
|
||||
OPTIONS_DEFINE= DEMOS
|
||||
OPTIONS_DEFAULT= DEMOS
|
||||
DEMOS_DESC= Install Demos programs
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
.include "Makefile.man"
|
||||
INFO= allegro
|
||||
|
||||
.if ${PORT_OPTIONS:MDEMOS}
|
||||
CMAKE_ARGS+=-DWANT_DEMO=on
|
||||
PLIST_SUB+=DEMOS=""
|
||||
.else
|
||||
CMAKE_ARGS+=-DWANT_TESTS=off
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
@${REINPLACE_CMD} -e 's|add_subdirectory(docs)|#add_subdirectory(docs)|' ${WRKSRC}/CMakeLists.txt
|
||||
.endif
|
||||
DOCSRCDIR1= ${WRKSRC}
|
||||
DOC_FILES1= CHANGES-5.0.txt CONTRIBUTORS.txt README.txt README_packaging.txt README_pkgconfig.txt
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${CP} -p ${WRKSRC}/allegro5.cfg ${PREFIX}/etc/allegro5.cfg.sample
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEMOS}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${EXAMPLESDIR})
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMANPAGES}
|
||||
@cd ${WRKSRC}/docs/man/ && \
|
||||
${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
|
||||
@(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} "src html" ${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,2 +1,2 @@
|
|||
SHA256 (allegro-4.4.2.tar.gz) = 1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc
|
||||
SIZE (allegro-4.4.2.tar.gz) = 4674902
|
||||
SHA256 (allegro-5.0.7.tar.gz) = 47f29e564d9a4babfbbf024f34fc8a04eea932a073af921d17caffbec0c3ad9b
|
||||
SIZE (allegro-5.0.7.tar.gz) = 3109765
|
||||
|
|
|
@ -1,20 +1,11 @@
|
|||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -66,7 +66,7 @@
|
||||
endif(WIN32)
|
||||
|
||||
set(ALLEGRO_VERSION 4.4.2)
|
||||
-string(REGEX MATCH "^[0-9]+[.][0-9]+" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
|
||||
+string(REGEX MATCH "^[0-9]" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
|
||||
|
||||
# Mac OS X -compatibility_version.
|
||||
# XXX doesn't seem to work
|
||||
@@ -961,7 +961,7 @@
|
||||
--- CMakeLists.txt.orig 2012-06-24 08:30:11.000000000 +0200
|
||||
+++ CMakeLists.txt 2012-10-05 22:02:53.000000000 +0200
|
||||
@@ -899,7 +899,7 @@
|
||||
@ONLY
|
||||
)
|
||||
install(FILES ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
|
||||
- DESTINATION "lib${LIB_SUFFIX}/pkgconfig"
|
||||
+ DESTINATION "libdata/pkgconfig"
|
||||
)
|
||||
install(FILES ${LIBRARY_OUTPUT_PATH}/pkgconfig/${outname}
|
||||
- DESTINATION "lib${LIB_SUFFIX}/pkgconfig"
|
||||
+ DESTINATION "libdata/pkgconfig"
|
||||
)
|
||||
endforeach(name)
|
||||
endif(UNIX)
|
||||
endif(UNIX AND NOT WANT_FRAMEWORKS AND NOT IPHONE)
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,140 +1,54 @@
|
|||
# Created by: Jimmy Olgeni <olgeni@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= allegro
|
||||
DISTVERSION= 4.2.2
|
||||
PORTREVISION= 3
|
||||
DISTVERSION= 4.4.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/alleg/${PORTNAME}/${PORTVERSION}
|
||||
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A cross-platform library for games and multimedia programming
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
COMMENT= Cross-platform library for games and multimedia programming
|
||||
|
||||
USE_AUTOTOOLS= autoconf
|
||||
USE_GCC= any
|
||||
USE_GMAKE= yes
|
||||
USES= cmake pkgconfig
|
||||
USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga
|
||||
USE_LDCONFIG= yes
|
||||
WANT_GNOME= yes
|
||||
USE_GL= gl glu
|
||||
|
||||
OPTIONS_DEFINE= ARTS DEBUG DEVEL ESOUND JACK OPTIMIZED_CFLAGS PROFILE THREADS
|
||||
OPTIONS_DEFAULT= DEVEL OPTIMIZED_CFLAGS THREADS
|
||||
DEVEL_DESC= Install development utilities
|
||||
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= full-build
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.include "Makefile.man"
|
||||
|
||||
INFO= allegro
|
||||
PORTDOCS= *
|
||||
|
||||
CONFLICTS= allegro-devel-[0-9]*
|
||||
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
||||
CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}"
|
||||
|
||||
SHLIB_VER= 42
|
||||
DEMO= demo.c demo.dat demo.h music.txt ../readme.txt
|
||||
SHLIB_VER= 4.4.2
|
||||
|
||||
# Restrict to stable (even) versions, indicated by the second component.
|
||||
PORTSCOUT= limitw:1,even
|
||||
PORTSCOUT= limit:^4\.3\.[0-9]*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
CFLAGS+= -L${LOCALBASE}/lib
|
||||
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib \
|
||||
jack.0:${PORTSDIR}/audio/jack \
|
||||
png15:${PORTSDIR}/graphics/png
|
||||
|
||||
.if ${PORT_OPTIONS:MARTS}
|
||||
LIB_DEPENDS+= artsc:${PORTSDIR}/audio/arts
|
||||
CONFIGURE_ARGS+=--enable-artsdigi
|
||||
PLIST_SUB+= ARTS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-artsdigi
|
||||
PLIST_SUB+= ARTS="@comment "
|
||||
.endif
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
CONFIGURE_ARGS+=--enable-dbglib
|
||||
PLIST_SUB+= DEBUG=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-dbglib
|
||||
PLIST_SUB+= DEBUG="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEVEL}
|
||||
INSTALL_TARGET= full-install install-man install-info
|
||||
PLIST_SUB+= DEVEL=""
|
||||
.else
|
||||
INSTALL_TARGET= mini-install install-man install-info
|
||||
PLIST_SUB+= DEVEL="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MESOUNS}
|
||||
USE_GNOME+= esound
|
||||
CONFIGURE_ARGS+=--enable-esddigi
|
||||
PLIST_SUB+= ESOUND=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-esddigi
|
||||
PLIST_SUB+= ESOUND="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MJACK}
|
||||
LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack
|
||||
CONFIGURE_ARGS+=--enable-jackdigi
|
||||
PLIST_SUB+= JACK=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-jackdigi
|
||||
PLIST_SUB+= JACK="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPROFILE}
|
||||
CONFIGURE_ARGS+=--enable-proflib
|
||||
PLIST_SUB+= PROFILE=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-proflib
|
||||
PLIST_SUB+= PROFILE="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTHREADS}
|
||||
CONFIGURE_ARGS+=--enable-pthreads
|
||||
CPPFLAGS+= -DHAVE_LIBPTHREAD
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-pthreads
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
.include "Makefile.man"
|
||||
INFO= allegro
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Change "x.y.z" into "xy" in the shared library version.
|
||||
@${REINPLACE_CMD} -e 's|${PORTVERSION}|${SHLIB_VER}|g' \
|
||||
${WRKSRC}/makefile.ver
|
||||
|
||||
# Remove architecture specific optimizations.
|
||||
@${REINPLACE_CMD} -e 's|$$TARGET_ARCH||g' \
|
||||
${CONFIGURE_WRKSRC}/configure.in
|
||||
|
||||
# Remove "-ffast-math" flag on alpha, because it breaks.
|
||||
.if ${ARCH} == "alpha"
|
||||
@${REINPLACE_CMD} -e 's|-ffast-math||g' \
|
||||
${CONFIGURE_WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
# Enable/disable compilation optimizations.
|
||||
.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
|
||||
@${REINPLACE_CMD} -e 's|-O2||g ; \
|
||||
s|-ffast-math||g ; \
|
||||
s|-fomit-frame-pointer||g ; \
|
||||
s|-funroll-loops||g' \
|
||||
${CONFIGURE_WRKSRC}/configure.in
|
||||
.if ! ${PORT_OPTIONS:MDOCS}
|
||||
@${REINPLACE_CMD} -e 's|add_subdirectory(docs)|#add_subdirectory(docs)|' ${WRKSRC}/CMakeLists.txt
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
# Documentation.
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/html/*.css ${DOCSDIR}
|
||||
|
||||
# Examples.
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/demo/demo ${EXAMPLESDIR}
|
||||
. for f in ${DEMO}
|
||||
${INSTALL_DATA} ${WRKSRC}/demo/${f} ${EXAMPLESDIR}
|
||||
. endfor
|
||||
@cd ${WRKSRC}/docs/man/ && \
|
||||
${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,2 +1,2 @@
|
|||
SHA256 (allegro-4.2.2.tar.gz) = f9b8e3178a10ac93041e3ffbc98ea0efc0254884c317bf078eb66366ee042a7d
|
||||
SIZE (allegro-4.2.2.tar.gz) = 3181258
|
||||
SHA256 (allegro-4.4.2.tar.gz) = 1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc
|
||||
SIZE (allegro-4.4.2.tar.gz) = 4674902
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
--- include/allegro/inline/fmaths.inl.orig Sun Jun 5 18:23:46 2005
|
||||
+++ include/allegro/inline/fmaths.inl Thu Aug 11 18:53:53 2005
|
||||
@@ -103,40 +103,11 @@
|
||||
|
||||
AL_INLINE(fixed, fixmul, (fixed x, fixed y),
|
||||
{
|
||||
- /* In benchmarks conducted circa May 2005 we found that, in the main:
|
||||
- * - IA32 machines performed faster with one implementation;
|
||||
- * - AMD64 and G4 machines performed faster with another implementation.
|
||||
- *
|
||||
- * Benchmarks were mainly done with differing versions of gcc.
|
||||
- * Results varied with other compilers, optimisation levels, etc.
|
||||
- * so this is not optimal, though a tenable compromise.
|
||||
- */
|
||||
- #if (defined ALLEGRO_I386) || (!defined LONG_LONG)
|
||||
-
|
||||
- fixed sign = (x^y) & 0x80000000;
|
||||
- int mask_x = x >> 31;
|
||||
- int mask_y = y >> 31;
|
||||
- int mask_result = sign >> 31;
|
||||
- fixed result;
|
||||
-
|
||||
- x = (x^mask_x) - mask_x;
|
||||
- y = (y^mask_y) - mask_y;
|
||||
-
|
||||
- result = ((y >> 8)*(x >> 8) +
|
||||
- (((y >> 8)*(x&0xff)) >> 8) +
|
||||
- (((x >> 8)*(y&0xff)) >> 8));
|
||||
-
|
||||
- return (result^mask_result) - mask_result;
|
||||
-
|
||||
- #else
|
||||
-
|
||||
LONG_LONG lx = x;
|
||||
LONG_LONG ly = y;
|
||||
LONG_LONG lres = (lx*ly)>>16;
|
||||
int res = lres;
|
||||
return res;
|
||||
-
|
||||
- #endif
|
||||
})
|
||||
|
||||
|
20
devel/allegro/files/patch-CMakeLists.txt
Normal file
20
devel/allegro/files/patch-CMakeLists.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -66,7 +66,7 @@
|
||||
endif(WIN32)
|
||||
|
||||
set(ALLEGRO_VERSION 4.4.2)
|
||||
-string(REGEX MATCH "^[0-9]+[.][0-9]+" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
|
||||
+string(REGEX MATCH "^[0-9]" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
|
||||
|
||||
# Mac OS X -compatibility_version.
|
||||
# XXX doesn't seem to work
|
||||
@@ -961,7 +961,7 @@
|
||||
@ONLY
|
||||
)
|
||||
install(FILES ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
|
||||
- DESTINATION "lib${LIB_SUFFIX}/pkgconfig"
|
||||
+ DESTINATION "libdata/pkgconfig"
|
||||
)
|
||||
endforeach(name)
|
||||
endif(UNIX)
|
|
@ -1,26 +0,0 @@
|
|||
--- aclocal.m4.orig 2007-06-16 01:52:28.000000000 +0000
|
||||
+++ aclocal.m4 2008-07-14 15:10:32.000000000 +0000
|
||||
@@ -195,3 +195,2 @@
|
||||
dnl
|
||||
-AC_MSG_CHECKING(for System V sys/procfs)
|
||||
AC_DEFUN(ALLEGRO_ACTEST_SV_PROCFS, [
|
||||
@@ -211,3 +210,2 @@
|
||||
])
|
||||
-AC_MSG_RESULT($allegro_sv_procfs)
|
||||
|
||||
@@ -219,3 +217,2 @@
|
||||
dnl
|
||||
-AC_MSG_CHECKING(if sys/procfs.h tells us argc/argv)
|
||||
AC_DEFUN(ALLEGRO_ACTEST_PROCFS_ARGCV, [
|
||||
@@ -228,3 +225,2 @@
|
||||
])
|
||||
-AC_MSG_RESULT($allegro_procfs_argcv)
|
||||
|
||||
@@ -236,3 +232,2 @@
|
||||
dnl
|
||||
-AC_MSG_CHECKING(for getexecname)
|
||||
AC_DEFUN(ALLEGRO_ACTEST_SYS_GETEXECNAME,
|
||||
@@ -242,3 +237,2 @@
|
||||
)
|
||||
-AC_MSG_RESULT($allegro_sys_getexecname)
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
--- configure.in.orig Sun Jun 12 04:53:19 2005
|
||||
+++ configure.in Fri Aug 5 15:09:10 2005
|
||||
@@ -297,8 +297,8 @@
|
||||
allegro_static_libraries=yes
|
||||
_programs="statically linked $_programs"
|
||||
else
|
||||
- LIBALLEG="lib/unix/lib${LIB_TO_LINK}-\$(shared_version).so lib/unix/lib${LIB_TO_LINK}_unsharable.a"
|
||||
- LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK}-\$(shared_version) -l${LIB_TO_LINK}_unsharable -lm"
|
||||
+ LIBALLEG="lib/unix/lib${LIB_TO_LINK}.so.\$(shared_version) lib/unix/lib${LIB_TO_LINK}_unsharable.a"
|
||||
+ LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK} -l${LIB_TO_LINK}_unsharable -lm"
|
||||
LINK_WITH_STATIC_LIBS=no
|
||||
allegro_shared_libraries=yes
|
||||
_programs="dynamically linked $_programs"
|
||||
@@ -337,15 +337,15 @@
|
||||
|
||||
_libraries="$_libraries shared"
|
||||
if test "X$allegro_build_normal_library" = "Xyes"; then
|
||||
- ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballeg-\$(shared_version).so lib/unix/liballeg_unsharable.a"
|
||||
+ ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballeg.so.\$(shared_version) lib/unix/liballeg_unsharable.a"
|
||||
_libraries="$_libraries release"
|
||||
fi
|
||||
if test "X$allegro_build_debugging_library" = "Xyes"; then
|
||||
- ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballd-\$(shared_version).so lib/unix/liballd_unsharable.a"
|
||||
+ ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballd.so.\$(shared_version) lib/unix/liballd_unsharable.a"
|
||||
_libraries="$_libraries debug"
|
||||
fi
|
||||
if test "X$allegro_build_profiling_library" = "Xyes"; then
|
||||
- ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballp-\$(shared_version).so lib/unix/liballp_unsharable.a"
|
||||
+ ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballp.so.\$(shared_version) lib/unix/liballp_unsharable.a"
|
||||
_libraries="$_libraries profile"
|
||||
fi
|
||||
fi
|
|
@ -1,135 +0,0 @@
|
|||
--- makefile.in.orig 2007-07-22 00:55:54.000000000 -0500
|
||||
+++ makefile.in 2011-03-25 17:23:23.000000000 -0500
|
||||
@@ -31,4 +31,4 @@
|
||||
|
||||
-ACLOCAL = aclocal
|
||||
-AUTOCONF = autoconf
|
||||
+ACLOCAL = true
|
||||
+AUTOCONF = true
|
||||
|
||||
@@ -36,2 +36,3 @@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
@@ -355,2 +356,7 @@
|
||||
lib: $(ALLEGRO_LIB_TARGETS)
|
||||
+ @for l in alleg alld allp; do \
|
||||
+ if test -f $(LIBDIR)/lib$${l}.so.$(shared_version); then \
|
||||
+ ln -sf lib$${l}.so.$(shared_version) $(LIBDIR)/lib$${l}.so; \
|
||||
+ fi; \
|
||||
+ done
|
||||
|
||||
@@ -399,43 +405,43 @@
|
||||
# -------- rules for deleting the generated files --------
|
||||
-
|
||||
-clean:
|
||||
-
|
||||
- define RM_OBJ_CLEAN_FILES
|
||||
- $(foreach file, $(OBJ_CLEAN_FILES), rm -f $(file)
|
||||
- )
|
||||
- endef
|
||||
-
|
||||
- define RM_OTHER_CLEAN_FILES
|
||||
- $(foreach file, $(OTHER_CLEAN_FILES), rm -f $(file)
|
||||
- )
|
||||
- endef
|
||||
-
|
||||
- $(RM_OBJ_CLEAN_FILES)
|
||||
- $(RM_OTHER_CLEAN_FILES)
|
||||
-
|
||||
-distclean: clean
|
||||
-
|
||||
- define RM_DISTCLEAN_FILES
|
||||
- $(foreach file, $(DISTCLEAN_FILES) $(ALLEGRO_LIB_X_EXES), rm -f $(file)
|
||||
- )
|
||||
- endef
|
||||
-
|
||||
- $(RM_DISTCLEAN_FILES)
|
||||
-
|
||||
-veryclean: distclean
|
||||
-
|
||||
- define RM_VERYCLEAN_FILES
|
||||
- $(foreach file, $(VERYCLEAN_FILES), rm -f $(file)
|
||||
- )
|
||||
- endef
|
||||
-
|
||||
- $(RM_VERYCLEAN_FILES)
|
||||
- rm -f makefile
|
||||
-
|
||||
-maintainer-clean: veryclean
|
||||
- rm -f configure include/allegro/platform/alunixac.hin
|
||||
- rm -rf autom4te*
|
||||
-
|
||||
-
|
||||
-
|
||||
+# XXX: whacked out with gmake 3.82
|
||||
+# clean:
|
||||
+#
|
||||
+# define RM_OBJ_CLEAN_FILES
|
||||
+# $(foreach file, $(OBJ_CLEAN_FILES), rm -f $(file)
|
||||
+# )
|
||||
+# endef
|
||||
+#
|
||||
+# define RM_OTHER_CLEAN_FILES
|
||||
+# $(foreach file, $(OTHER_CLEAN_FILES), rm -f $(file)
|
||||
+# )
|
||||
+# endef
|
||||
+#
|
||||
+# $(RM_OBJ_CLEAN_FILES)
|
||||
+# $(RM_OTHER_CLEAN_FILES)
|
||||
+#
|
||||
+# distclean: clean
|
||||
+#
|
||||
+# define RM_DISTCLEAN_FILES
|
||||
+# $(foreach file, $(DISTCLEAN_FILES) $(ALLEGRO_LIB_X_EXES), rm -f $(file)
|
||||
+# )
|
||||
+# endef
|
||||
+#
|
||||
+# $(RM_DISTCLEAN_FILES)
|
||||
+#
|
||||
+# veryclean: distclean
|
||||
+#
|
||||
+# define RM_VERYCLEAN_FILES
|
||||
+# $(foreach file, $(VERYCLEAN_FILES), rm -f $(file)
|
||||
+# )
|
||||
+# endef
|
||||
+#
|
||||
+# $(RM_VERYCLEAN_FILES)
|
||||
+# rm -f makefile
|
||||
+#
|
||||
+# maintainer-clean: veryclean
|
||||
+# rm -f configure include/allegro/platform/alunixac.hin
|
||||
+# rm -rf autom4te*
|
||||
+#
|
||||
+#
|
||||
+#
|
||||
# -------- rules for installing the files --------
|
||||
@@ -466,5 +472,5 @@
|
||||
@for l in alleg alld allp; do \
|
||||
- if test -f $(LIBDIR)/lib$${l}-$(shared_version).so; then \
|
||||
- echo Installing $(LIBDIR)/lib$${l}-$(shared_version).so to $(DESTDIR)$(libdir); \
|
||||
- $(INSTALL_PROGRAM) $(LIBDIR)/lib$${l}-$(shared_version).so $(DESTDIR)$(libdir)/; \
|
||||
+ if test -f $(LIBDIR)/lib$${l}.so.$(shared_version); then \
|
||||
+ echo Installing $(LIBDIR)/lib$${l}.so.$(shared_version) to $(libdir); \
|
||||
+ $(INSTALL_PROGRAM) $(LIBDIR)/lib$${l}.so.$(shared_version) $(libdir)/; \
|
||||
$(INSTALL_DATA) $(LIBDIR)/lib$${l}_unsharable.a $(DESTDIR)$(libdir)/; \
|
||||
@@ -482,16 +488,6 @@
|
||||
@echo Installing allegro-config to $(DESTDIR)$(bindir)
|
||||
- @$(INSTALL_PROGRAM) allegro-config $(DESTDIR)$(bindir)
|
||||
- @if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \
|
||||
- (cat /etc/ld.so.conf | grep $(libdir) >/dev/null || \
|
||||
- test $(libdir) = /lib || test $(libdir) = /usr/lib) \
|
||||
- && ($(LDCONFIG) $(libdir) || true) || (\
|
||||
- echo "" ; \
|
||||
- echo "Warning: shared library destination $(libdir) is not in ldd search path." ; \
|
||||
- echo "Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to include"; \
|
||||
- echo "$(libdir) each time you want to run an Allegro program." ; \
|
||||
- ) ; \
|
||||
- fi
|
||||
+ @$(INSTALL_SCRIPT) allegro-config $(DESTDIR)$(bindir)
|
||||
@for l in alleg alld allp; do \
|
||||
- if test -f $(DESTDIR)$(libdir)/lib$${l}-$(shared_version).so -a \! -h $(DESTDIR)$(libdir)/lib$${l}.so.${shared_major_minor}; then \
|
||||
- (cd $(DESTDIR)$(libdir); ln -s lib$${l}-$(shared_version).so lib$${l}.so.${shared_major_minor}); \
|
||||
+ if test -f $(DESTDIR)$(libdir)/lib$${l}.so.$(shared_version) -a \! -h $(DESTDIR)$(libdir)/lib$${l}.so; then \
|
||||
+ (cd $(DESTDIR)$(libdir); ln -s lib$${l}.so.$(shared_version) lib$${l}.so); \
|
||||
fi; \
|
|
@ -1,11 +0,0 @@
|
|||
--- misc/allegro-config.in.orig Wed Oct 23 08:10:01 2002
|
||||
+++ misc/allegro-config.in Mon Nov 11 18:41:09 2002
|
||||
@@ -167,7 +167,7 @@
|
||||
if test "$static_libs" = "yes"; then
|
||||
echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
|
||||
else
|
||||
- echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
|
||||
+ echo $libdirs $allegro_ldflags -l${lib_type} -l${lib_type}_unsharable
|
||||
fi
|
||||
fi
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
--- misc/deplib.sh.orig Sun Nov 9 19:43:07 2003
|
||||
+++ misc/deplib.sh Thu Dec 11 22:32:16 2003
|
||||
@@ -10,7 +10,7 @@
|
||||
staticlib="lib${1}.a"
|
||||
staticobj="\$(${2}_OBJECTS)"
|
||||
|
||||
- sharelib="lib${1}-\$(shared_version).so"
|
||||
+ sharelib="lib${1}.so.\$(shared_version)"
|
||||
shareobj="\$(${2}_SHARED_OBJECTS)"
|
||||
|
||||
unsharelib="lib${1}_unsharable.a"
|
||||
@@ -24,7 +24,7 @@
|
||||
echo " rm -f \$@"
|
||||
# gf: This bit is obviously gcc-specific
|
||||
# eb: Yes, but the GNU C Compiler doesn't always spell 'gcc'
|
||||
- echo " \$(CC) -shared -o \$@ ${shareobj} ${3} \$(LDFLAGS) -Wl,-h,lib${1}.so.\$(shared_major_minor) \$(LIBS)"
|
||||
+ echo " \$(CC) -shared -o \$@ ${shareobj} \$(LDFLAGS) -Wl,-h,lib${1}.so.\$(shared_version) \$(LIBS)"
|
||||
echo ""
|
||||
echo "\$(LIBDIR)/${unsharelib}: ${unshareobj}"
|
||||
echo " rm -f \$@"
|
|
@ -1,5 +1,5 @@
|
|||
Allegro is a cross-platform library intended for use in computer games and
|
||||
other types of multimedia programming.
|
||||
other types of multimedia programming.
|
||||
|
||||
A wide range of extension packages and add-on modules are also available, which
|
||||
can be found in the "Library Extensions" section of the Allegro website.
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
bin/allegro-config
|
||||
%%DEVEL%%bin/colormap
|
||||
%%DEVEL%%bin/dat
|
||||
%%DEVEL%%bin/dat2c
|
||||
%%DEVEL%%bin/dat2s
|
||||
%%DEVEL%%bin/exedat
|
||||
%%DEVEL%%bin/grabber
|
||||
%%DEVEL%%bin/pack
|
||||
%%DEVEL%%bin/pat2dat
|
||||
%%DEVEL%%bin/rgbmap
|
||||
%%DEVEL%%bin/textconv
|
||||
bin/colormap
|
||||
bin/dat
|
||||
bin/dat2c
|
||||
bin/dat2s
|
||||
bin/exedat
|
||||
bin/grabber
|
||||
bin/pack
|
||||
bin/pat2dat
|
||||
bin/rgbmap
|
||||
bin/textconv
|
||||
include/alleggl.h
|
||||
include/allegro.h
|
||||
include/allegro/3d.h
|
||||
include/allegro/3dmaths.h
|
||||
include/allegro/alcompat.h
|
||||
include/allegro/alinline.h
|
||||
include/allegro/alunixac.h
|
||||
include/allegro/base.h
|
||||
include/allegro/color.h
|
||||
include/allegro/compiled.h
|
||||
|
@ -36,7 +36,6 @@ include/allegro/inline/3dmaths.inl
|
|||
include/allegro/inline/asm.inl
|
||||
include/allegro/inline/color.inl
|
||||
include/allegro/inline/draw.inl
|
||||
include/allegro/inline/file.inl
|
||||
include/allegro/inline/fix.inl
|
||||
include/allegro/inline/fmaths.inl
|
||||
include/allegro/inline/gfx.inl
|
||||
|
@ -58,6 +57,7 @@ include/allegro/platform/aintdos.h
|
|||
include/allegro/platform/aintlnx.h
|
||||
include/allegro/platform/aintmac.h
|
||||
include/allegro/platform/aintosx.h
|
||||
include/allegro/platform/aintpsp.h
|
||||
include/allegro/platform/aintqnx.h
|
||||
include/allegro/platform/aintunix.h
|
||||
include/allegro/platform/aintwin.h
|
||||
|
@ -77,6 +77,8 @@ include/allegro/platform/almsvc.h
|
|||
include/allegro/platform/alosx.h
|
||||
include/allegro/platform/alosxcfg.h
|
||||
include/allegro/platform/alplatf.h
|
||||
include/allegro/platform/alpsp.h
|
||||
include/allegro/platform/alpspcfg.h
|
||||
include/allegro/platform/alqnx.h
|
||||
include/allegro/platform/alqnxcfg.h
|
||||
include/allegro/platform/alucfg.h
|
||||
|
@ -94,104 +96,46 @@ include/allegro/system.h
|
|||
include/allegro/text.h
|
||||
include/allegro/timer.h
|
||||
include/allegro/unicode.h
|
||||
include/linalleg.h
|
||||
include/allegrogl/GLext/gl_ext_alias.h
|
||||
include/allegrogl/GLext/gl_ext_api.h
|
||||
include/allegrogl/GLext/gl_ext_defs.h
|
||||
include/allegrogl/GLext/gl_ext_list.h
|
||||
include/allegrogl/GLext/glx_ext_alias.h
|
||||
include/allegrogl/GLext/glx_ext_api.h
|
||||
include/allegrogl/GLext/glx_ext_defs.h
|
||||
include/allegrogl/GLext/glx_ext_list.h
|
||||
include/allegrogl/GLext/wgl_ext_alias.h
|
||||
include/allegrogl/GLext/wgl_ext_api.h
|
||||
include/allegrogl/GLext/wgl_ext_defs.h
|
||||
include/allegrogl/GLext/wgl_ext_list.h
|
||||
include/allegrogl/alleggl_config.h
|
||||
include/allegrogl/gl_ext.h
|
||||
include/allegrogl/gl_header_detect.h
|
||||
include/jpgalleg.h
|
||||
include/loadpng.h
|
||||
include/logg.h
|
||||
include/xalleg.h
|
||||
%%ARTS%%lib/allegro/%%SHLIB_VER%%/alleg-artsdigi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-alsadigi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-alsamidi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-dga2.so
|
||||
%%ESOUND%%lib/allegro/%%SHLIB_VER%%/alleg-esddigi.so
|
||||
%%JACK%%lib/allegro/%%SHLIB_VER%%/alleg-jackdigi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-jack.so
|
||||
lib/allegro/%%SHLIB_VER%%/modules.lst
|
||||
%%DEBUG%%lib/liballd.so
|
||||
%%DEBUG%%lib/liballd.so.%%SHLIB_VER%%
|
||||
%%DEBUG%%lib/liballd_unsharable.a
|
||||
lib/liballeg.so
|
||||
lib/liballeg.so.4
|
||||
lib/liballeg.so.%%SHLIB_VER%%
|
||||
lib/liballeg_unsharable.a
|
||||
%%PROFILE%%lib/liballp.so
|
||||
%%PROFILE%%lib/liballp.so.%%SHLIB_VER%%
|
||||
%%PROFILE%%lib/liballp_unsharable.a
|
||||
share/aclocal/allegro.m4
|
||||
%%PORTDOCS%%%%DOCSDIR%%/abi.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ahack.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg000.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg001.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg002.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg003.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg004.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg005.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg006.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg007.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg008.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg009.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg010.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg011.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg012.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg013.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg014.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg015.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg016.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg017.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg018.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg019.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg020.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg021.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg022.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg023.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg024.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg025.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg026.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg027.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg028.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg029.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg030.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg031.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg032.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg033.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg034.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg035.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg036.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg037.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg038.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg039.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg040.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg041.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg042.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg043.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg044.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg045.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg046.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg047.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg048.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg049.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/allegro.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/allegro.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/changes.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/const.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat2c.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat2s.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/datafile.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/faq.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/grabber.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/help.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/license.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/makedoc.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/mistakes.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/packfile.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/thanks.html
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.c
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.dat
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.h
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/music.txt
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/readme.txt
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
lib/liballeggl.a
|
||||
lib/libjpgalleg.a
|
||||
lib/libloadpng.a
|
||||
lib/liblogg.a
|
||||
libdata/pkgconfig/allegro.pc
|
||||
libdata/pkgconfig/allegrogl.pc
|
||||
libdata/pkgconfig/jpgalleg.pc
|
||||
libdata/pkgconfig/loadpng.pc
|
||||
libdata/pkgconfig/logg.pc
|
||||
@dirrm lib/allegro/%%SHLIB_VER%%
|
||||
@dirrm lib/allegro
|
||||
@dirrm include/allegrogl/GLext
|
||||
@dirrm include/allegrogl
|
||||
@dirrm include/allegro/platform
|
||||
@dirrm include/allegro/internal
|
||||
@dirrm include/allegro/inline
|
||||
|
|
|
@ -17,7 +17,7 @@ DISTFILES= o2em117src.zip:1 \
|
|||
MAINTAINER= techgunter@yahoo.com
|
||||
COMMENT= An Odyssey2 / Videopac console emulator
|
||||
|
||||
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
|
||||
LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro
|
||||
|
||||
WRKSRC= ${WRKDIR}/o2em117src
|
||||
MAKEFILE= Makefile.freebsd
|
||||
|
|
|
@ -6,7 +6,7 @@ diff -urN ../o2em117src.old/Makefile.freebsd ./Makefile.freebsd
|
|||
+
|
||||
+CFLAGS = -O3 -Wall -fomit-frame-pointer -I${PREFIX}/include -DFREEBSD -DPREFIX=\"${PREFIX}\"
|
||||
+LFLAGS = -s ${LDFLAGS}
|
||||
+LIBALLEG = -L${PREFIX}/lib -lalleg -lalleg_unsharable
|
||||
+LIBALLEG = -L${PREFIX}/lib -lalleg
|
||||
+
|
||||
+
|
||||
+all: o2em dis48
|
||||
|
|
|
@ -16,7 +16,7 @@ MAINTAINER= flz@FreeBSD.org
|
|||
COMMENT= Arcade Emulator for M68000, M68020, and Z80 based hardware
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm
|
||||
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro \
|
||||
LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro \
|
||||
png15:${PORTSDIR}/graphics/png \
|
||||
vga.1:${PORTSDIR}/graphics/svgalib
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}
|
|||
MAINTAINER= jessefrgsmith@yahoo.ca
|
||||
COMMENT= A 2D tank game with large, cartoonish weapons
|
||||
|
||||
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
|
||||
LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro
|
||||
|
||||
USE_GMAKE= yes
|
||||
MAKE_ARGS+= PREFIX=${PREFIX}/
|
||||
|
|
|
@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Remake of classic roguelike game "Sword of Fargoal"
|
||||
|
||||
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
|
||||
LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libaldmb.a:${PORTSDIR}/audio/dumb-allegro \
|
|||
alpng>=1.3:${PORTSDIR}/graphics/alpng
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/libaldmb.a:${PORTSDIR}/audio/dumb-allegro \
|
||||
alpng>=1.3:${PORTSDIR}/graphics/alpng
|
||||
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro \
|
||||
LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro \
|
||||
ogg:${PORTSDIR}/audio/libogg \
|
||||
vorbis.4:${PORTSDIR}/audio/libvorbis
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ COMMENT= Fighting game similar to Streets of Rage and TMNT
|
|||
LICENSE= BSD
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro \
|
||||
LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro \
|
||||
png15:${PORTSDIR}/graphics/png \
|
||||
freetype:${PORTSDIR}/print/freetype2
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
SUBDIR += agave
|
||||
SUBDIR += agg
|
||||
SUBDIR += albumshaper
|
||||
SUBDIR += allegrogl
|
||||
SUBDIR += alpng
|
||||
SUBDIR += amanith
|
||||
SUBDIR += amide
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
# Created by: Igor Pokrovsky <tiamat@comset.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= allegrogl
|
||||
PORTVERSION= 0.4.3
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF/${PORTNAME}/AllegroGL%20source/${PORTVERSION}
|
||||
DISTNAME= alleggl-${PORTVERSION}
|
||||
|
||||
MAINTAINER= crees@FreeBSD.org
|
||||
COMMENT= OpenGL interface for Allegro library
|
||||
|
||||
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
|
||||
|
||||
CONFLICTS= allegro-devel-[0-9]*
|
||||
|
||||
BROKEN= Does not build. Use allegro-devel if you need this functionality
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
USE_GL= glu
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= lib
|
||||
WRKSRC= ${WRKDIR}/alleggl
|
||||
|
||||
post-extract:
|
||||
@${RM} ${WRKSRC}/gpl.txt
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^[[:blank:]]make |${GMAKE} |' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examp/* ${EXAMPLESDIR}
|
||||
@${SED} -e \
|
||||
's|%%CC%%|${CC}|g; \
|
||||
s|%%RM%%|${RM}|g; \
|
||||
s|%%CFLAGS%%|${CFLAGS}|g; \
|
||||
s|%%PREFIX%%|${PREFIX}|g; \
|
||||
s|%%LOCALBASE%%|${LOCALBASE}|g; \
|
||||
s|%%ALLEGRO_CONFIG%%|${ALLEGRO_CONFIG}|g' \
|
||||
< ${FILESDIR}/makefile.ex > ${EXAMPLESDIR}/makefile
|
||||
|
||||
.ifndef (NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (alleggl-0.4.3.tar.bz2) = 5409c4db81fcf5efed60bb280d5d15431361caf0dcede4a48167f0f0d48e7734
|
||||
SIZE (alleggl-0.4.3.tar.bz2) = 767377
|
|
@ -1,60 +0,0 @@
|
|||
CC= %%CC%%
|
||||
RM= %%RM%%
|
||||
CFLAGS= %%CFLAGS%% -I. -I%%LOCALBASE%%/include -I%%PREFIX%%/include
|
||||
LDFLAGS= -L%%LOCALBASE%%/lib -L%%PREFIX%%/lib -lagl -lGL -lGLU
|
||||
|
||||
ALLEGRO_CFLAGS!=allegro-config --cflags
|
||||
ALLEGRO_LFLAGS!=allegro-config --libs
|
||||
CFLAGS+= ${ALLEGRO_CFLAGS}
|
||||
LDFLAGS+= ${ALLEGRO_LFLAGS}
|
||||
|
||||
TARGETS= dialog dumbtest exalleg exalpfnt excamera exext exgui exmasked \
|
||||
extext extextur test tex
|
||||
|
||||
all: ${TARGETS}
|
||||
|
||||
dialog: dialog.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
dumbtest: dumbtest.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
exalleg: exalleg.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
exalpfnt: exalpfnt.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
excamera: excamera.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
exext: exext.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
exgui: exgui.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
exmasked: exmasked.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
exmipmaps: exmipmaps.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
extext: extext.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
extextur: extextur.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
test: test.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
tex: tex.o
|
||||
${CC} $> -o $@ ${LDFLAGS}
|
||||
|
||||
|
||||
.c.o:
|
||||
${CC} -c ${CFLAGS} $*.c
|
||||
|
||||
clean:
|
||||
${RM} -f *.o ${TARGETS}
|
|
@ -1,107 +0,0 @@
|
|||
diff -ruN allegrogl/work/alleggl/make/makefile.all make/makefile.all
|
||||
--- allegrogl/work/alleggl/make/makefile.all 2007-01-06 20:39:09.000000000 +0000
|
||||
+++ make/makefile.all 2011-04-07 15:30:09.579220344 +0100
|
||||
@@ -31,10 +31,6 @@
|
||||
- rm -rf docs/rtf
|
||||
else
|
||||
- del $(LIB_PATH_D)
|
||||
- define RM_EXAMPLES
|
||||
- $(foreach file, $(wildcard $(subst /,\,$(EXAMPLES))), - del $(file)
|
||||
- )
|
||||
- endef
|
||||
- $(RM_EXAMPLES)
|
||||
- @echo Y|del docs\html\*.*
|
||||
- rd docs\html
|
||||
@@ -47,7 +43,6 @@
|
||||
PROG_INSTALLER=cp
|
||||
endif
|
||||
|
||||
-install: $(LIB_PATH_U) $(HEADERS_U) $(EXT_HEADERS_U)
|
||||
ifdef UNIX_TOOLS
|
||||
define CP_INSTALL
|
||||
$(foreach file, $(HEADERS_U), - $(DATA_INSTALLER) $(file) $(subst include,$(COMPILER_INCLUDE_DIR_U),$(file))
|
||||
@@ -59,6 +54,7 @@
|
||||
$(foreach link, $(LIB_LINKS_U), - ln -sf $(notdir $(LIB_PATH_U)) $(subst $(LIB_DIR),$(COMPILER_LIB_DIR_U),$(link))
|
||||
)
|
||||
endef
|
||||
+install: $(LIB_PATH_U) $(HEADERS_U) $(EXT_HEADERS_U)
|
||||
ifeq ($(wildcard $(COMPILER_INCLUDE_DIR_U)/allegrogl),)
|
||||
mkdir -p $(COMPILER_INCLUDE_DIR_U)/allegrogl
|
||||
endif
|
||||
@@ -87,33 +83,6 @@
|
||||
@echo -
|
||||
@echo AllegroGL is now installed.
|
||||
|
||||
-uninstall:
|
||||
-ifdef UNIX_TOOLS
|
||||
- define RM_UNINSTALL
|
||||
- $(foreach link, $(LIB_LINKS_U), - rm -f $(subst $(LIB_DIR),$(COMPILER_LIB_DIR_U),$(link))
|
||||
- )
|
||||
- $(foreach file, $(HEADERS_U), - rm -f $(subst include,$(COMPILER_INCLUDE_DIR_U),$(file))
|
||||
- )
|
||||
- $(foreach file, $(EXT_HEADERS_U), - rm -f $(subst include,$(COMPILER_INCLUDE_DIR_U),$(file))
|
||||
- )
|
||||
- endef
|
||||
- - rm -f $(COMPILER_LIB_DIR_U)/$(notdir $(LIB_PATH_U))
|
||||
- - $(RM_UNINSTALL)
|
||||
- - rm -rf $(COMPILER_INCLUDE_DIR_U)/allegrogl/GLext
|
||||
- - rm -rf $(COMPILER_INCLUDE_DIR_U)/allegrogl
|
||||
-else
|
||||
- define RM_UNINSTALL
|
||||
- $(foreach file, $(notdir $(HEADERS_D)), - del $(COMPILER_INCLUDE_DIR_D)\$(file)
|
||||
- )
|
||||
- $(foreach file, $(notdir $(EXT_HEADERS_D)), - del $(COMPILER_INCLUDE_DIR_D)\$(file)
|
||||
- )
|
||||
- endef
|
||||
- - $(RM_UNINSTALL)
|
||||
- - rmdir /s /q $(COMPILER_INCLUDE_DIR_D)\allegrogl
|
||||
- - del $(COMPILER_LIB_DIR_D)\$(notdir $(LIB_PATH_U))
|
||||
-endif
|
||||
- @echo -
|
||||
- @echo AllegroGL is uninstalled.
|
||||
|
||||
$(EXT_HEADERS_PATH_U)/gl_ext_alias.h: $(EXT_HEADERS_PATH_U)/gl_ext_api.h
|
||||
ifdef UNIX_TOOLS
|
||||
diff -ruN allegrogl/work/alleggl/make/makefile.unx make/makefile.unx
|
||||
--- allegrogl/work/alleggl/make/makefile.unx 2007-11-10 19:33:06.000000000 +0000
|
||||
+++ make/makefile.unx 2011-04-07 15:31:41.631562520 +0100
|
||||
@@ -28,8 +28,8 @@
|
||||
# Programs
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
-DATA_INSTALLER = @INSTALL@ @INSTALL_DATA@ -D
|
||||
-PROG_INSTALLER = @INSTALL@ @INSTALL_PROGRAM@ -D
|
||||
+DATA_INSTALLER = @INSTALL_DATA@
|
||||
+PROG_INSTALLER = @INSTALL_PROGRAM@
|
||||
|
||||
|
||||
# Where to install the library and header file
|
||||
@@ -67,13 +67,13 @@
|
||||
# --- Compiler optimizations ---#
|
||||
|
||||
ifdef DEBUGMODE
|
||||
- CFLAGS = -g -W -Wall -Wno-unused
|
||||
+ CFLAGS += -g -W -Wall -Wno-unused
|
||||
CFLAGS += -DDEBUGMODE=$(DEBUGMODE)
|
||||
ifdef LOGLEVEL
|
||||
CFLAGS += -DLOGLEVEL=$(LOGLEVEL)
|
||||
endif
|
||||
else
|
||||
- CFLAGS = -O2 -Wall -ffast-math -fomit-frame-pointer
|
||||
+ CFLAGS += -O2 -Wall -ffast-math -fomit-frame-pointer
|
||||
endif
|
||||
|
||||
ifdef SHARED
|
||||
@@ -149,11 +149,11 @@
|
||||
|
||||
include make/makefile.dep
|
||||
|
||||
-$(LIB_PATH_U): $(GENERAL_LIB_OBJS) $(PLATFORM_OBJECT)
|
||||
define MAKE_LINKS
|
||||
$(foreach link, $(LIB_LINKS_U), - ln -sf $(notdir $(LIB_PATH_U)) $(link)
|
||||
)
|
||||
endef
|
||||
+$(LIB_PATH_U): $(GENERAL_LIB_OBJS) $(PLATFORM_OBJECT)
|
||||
$(LIB_BUILDER) $@ $^
|
||||
- $(MAKE_LINKS)
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
The library mostly provides functions to allow you to use OpenGL alongside
|
||||
Allegro -- you use OpenGL for your rendering to the screen, and Allegro
|
||||
for miscellaneous tasks like gathering input, doing timers, getting
|
||||
cross-platform portability, loading data, playing samples and drawing your
|
||||
textures. So this library fills the same hole that things like GLUT do.
|
||||
|
||||
WWW: http://allegrogl.sourceforge.net/
|
|
@ -1,53 +0,0 @@
|
|||
include/alleggl.h
|
||||
include/alleggl_config.h
|
||||
include/allegrogl/gl_ext.h
|
||||
include/allegrogl/gl_header_detect.h
|
||||
include/allegrogl/GLext/gl_ext_alias.h
|
||||
include/allegrogl/GLext/gl_ext_api.h
|
||||
include/allegrogl/GLext/gl_ext_defs.h
|
||||
include/allegrogl/GLext/gl_ext_list.h
|
||||
include/allegrogl/GLext/glx_ext_alias.h
|
||||
include/allegrogl/GLext/glx_ext_api.h
|
||||
include/allegrogl/GLext/glx_ext_defs.h
|
||||
include/allegrogl/GLext/glx_ext_list.h
|
||||
@dirrm include/allegrogl/GLext
|
||||
@dirrm include/allegrogl
|
||||
lib/libagl.so
|
||||
lib/libagl.so.0
|
||||
lib/libagl.so.0.4
|
||||
lib/libagl.so.0.4.3
|
||||
%%EXAMPLESDIR%%/a1.bmp
|
||||
%%EXAMPLESDIR%%/a24.tga
|
||||
%%EXAMPLESDIR%%/a32.tga
|
||||
%%EXAMPLESDIR%%/a8.bmp
|
||||
%%EXAMPLESDIR%%/fonttest.c
|
||||
%%EXAMPLESDIR%%/demofont.dat
|
||||
%%EXAMPLESDIR%%/dialog.c
|
||||
%%EXAMPLESDIR%%/dumbtest.c
|
||||
%%EXAMPLESDIR%%/exalleg.c
|
||||
%%EXAMPLESDIR%%/exalpfnt.c
|
||||
%%EXAMPLESDIR%%/exblend.c
|
||||
%%EXAMPLESDIR%%/excamera.c
|
||||
%%EXAMPLESDIR%%/exext.c
|
||||
%%EXAMPLESDIR%%/exgui.c
|
||||
%%EXAMPLESDIR%%/exmasked.c
|
||||
%%EXAMPLESDIR%%/exmipmaps.c
|
||||
%%EXAMPLESDIR%%/extext.c
|
||||
%%EXAMPLESDIR%%/extextur.c
|
||||
%%EXAMPLESDIR%%/lucidia.dat
|
||||
%%EXAMPLESDIR%%/makefile
|
||||
%%EXAMPLESDIR%%/mysha.pcx
|
||||
%%EXAMPLESDIR%%/running.dat
|
||||
%%EXAMPLESDIR%%/running.h
|
||||
%%EXAMPLESDIR%%/test.c
|
||||
%%EXAMPLESDIR%%/tex.c
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%%%DOCSDIR%%/bugs.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/extensions.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/faq.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/howto.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/quickstart.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/todo.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/zlib.txt
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
@ -15,7 +15,7 @@ DISTNAME= ${PORTNAME}13
|
|||
MAINTAINER= devel@stasyan.com
|
||||
COMMENT= Library for display PNG images in programs
|
||||
|
||||
LIB_DEPENDS+= alleg.42:${PORTSDIR}/devel/allegro
|
||||
LIB_DEPENDS+= alleg:${PORTSDIR}/devel/allegro
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
|
|
@ -15,7 +15,7 @@ MASTER_SITES= SF
|
|||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= A chryzode (http//www.chryzode.org) explorer
|
||||
|
||||
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
|
||||
LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
MAKEFILE= makefile.unx
|
||||
|
|
Loading…
Add table
Reference in a new issue