1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Update to version 0.4.1.

This commit is contained in:
Alejandro Pulver 2007-06-05 02:36:12 +00:00
parent 60ece78d20
commit d14487c47c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192787
3 changed files with 10 additions and 16 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= allegrogl
PORTVERSION= 0.4.0
PORTREVISION= 1
PORTVERSION= 0.4.1
CATEGORIES= graphics
MASTER_SITES= SF
DISTNAME= alleggl-${PORTVERSION}
@ -18,7 +17,6 @@ COMMENT= OpenGL inteface for Allegro library
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
USE_BZIP2= yes
USE_GCC= 3.4+
USE_GMAKE= yes
USE_GL= yes
USE_LDCONFIG= yes
@ -27,25 +25,18 @@ MAKEFILE= makefile
ALL_TARGET= lib
WRKSRC= ${WRKDIR}/alleggl
SHLIB_VER= 4
PLIST_SUB+= SHLIB_VER="${SHLIB_VER}"
post-extract:
@${RM} ${WRKSRC}/gpl.txt
post-patch:
@${REINPLACE_CMD} -e \
's|^[[:blank:]]make |${GMAKE} |; \
s|\.so|&.${SHLIB_VER}|' \
@${REINPLACE_CMD} -e 's|^[[:blank:]]make |${GMAKE} |' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -Ee \
's|@INSTALL@ ||; \
s|(@INSTALL_(DATA\|PROGRAM)@) -D|\1|; \
's|@INSTALL@ (@INSTALL_(DATA\|PROGRAM)@) -D|\1|; \
s|(CFLAGS) =|\1 +=|' \
${WRKSRC}/make/makefile.unx
post-install:
cd ${PREFIX}/lib && ${LN} -sf libagl.so.${SHLIB_VER} libagl.so
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examp/* ${EXAMPLESDIR}
@${SED} -e \

View File

@ -1,3 +1,3 @@
MD5 (alleggl-0.4.0.tar.bz2) = 43e5d123fa5c78ade8e9b486b4102998
SHA256 (alleggl-0.4.0.tar.bz2) = 1933f57a44d8294cf699f0839e42c8dbda6481479b34d026c488506a83c9d5d2
SIZE (alleggl-0.4.0.tar.bz2) = 625073
MD5 (alleggl-0.4.1.tar.bz2) = b08cd58b37e1d3185c13d997a179ddc0
SHA256 (alleggl-0.4.1.tar.bz2) = 7adc28500dfd4cebf15aeb26f09754814280180779807fafaee7874968f9790f
SIZE (alleggl-0.4.1.tar.bz2) = 632343

View File

@ -13,7 +13,9 @@ include/allegrogl/GLext/glx_ext_list.h
@dirrm include/allegrogl/GLext
@dirrm include/allegrogl
lib/libagl.so
lib/libagl.so.%%SHLIB_VER%%
lib/libagl.so.0
lib/libagl.so.0.4
lib/libagl.so.0.4.1
%%EXAMPLESDIR%%/a1.bmp
%%EXAMPLESDIR%%/a24.tga
%%EXAMPLESDIR%%/a32.tga
@ -24,6 +26,7 @@ lib/libagl.so.%%SHLIB_VER%%
%%EXAMPLESDIR%%/dumbtest.c
%%EXAMPLESDIR%%/exalleg.c
%%EXAMPLESDIR%%/exalpfnt.c
%%EXAMPLESDIR%%/exblend.c
%%EXAMPLESDIR%%/excamera.c
%%EXAMPLESDIR%%/exext.c
%%EXAMPLESDIR%%/exgui.c