aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-12-20 00:52:41 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-12-20 00:52:41 +0000
commite4a7f7221a17701ff625ceaee4679f537e83561d (patch)
tree98d6512a16f70b839ce555a6972c7efb0faca04b
parent5f85ef1c52d1e19982ef208c4b03765c88fb3232 (diff)
downloadports-e4a7f7221a17701ff625ceaee4679f537e83561d.tar.gz
ports-e4a7f7221a17701ff625ceaee4679f537e83561d.zip
Notes
-rw-r--r--graphics/allegrogl/Makefile16
-rw-r--r--graphics/allegrogl/distinfo6
-rw-r--r--graphics/allegrogl/pkg-plist6
3 files changed, 20 insertions, 8 deletions
diff --git a/graphics/allegrogl/Makefile b/graphics/allegrogl/Makefile
index 5106064cbeda..0aa8c16ba11c 100644
--- a/graphics/allegrogl/Makefile
+++ b/graphics/allegrogl/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= allegrogl
-DISTVERSION= 0.4.0_rc4
+PORTVERSION= 0.4.0
CATEGORIES= graphics
MASTER_SITES= SF
-DISTNAME= alleggl-${DISTVERSION}
+DISTNAME= alleggl-${PORTVERSION}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= OpenGL inteface for Allegro library
@@ -17,7 +17,7 @@ COMMENT= OpenGL inteface for Allegro library
LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
USE_BZIP2= yes
-USE_GCC= 3.2+
+USE_GCC= 3.4+
USE_GMAKE= yes
USE_GL= yes
USE_LDCONFIG= yes
@@ -29,13 +29,19 @@ 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}|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
- @${REINPLACE_CMD} -Ee 's|(@INSTALL@) -D|\1|; s|(CFLAGS) =|\1 +=|' \
- ${WRKSRC}/make/makefile.unx
+ @${REINPLACE_CMD} -Ee \
+ 's|@INSTALL@ ||; \
+ s|(@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
diff --git a/graphics/allegrogl/distinfo b/graphics/allegrogl/distinfo
index 1c10e023e95a..dd46920330b3 100644
--- a/graphics/allegrogl/distinfo
+++ b/graphics/allegrogl/distinfo
@@ -1,3 +1,3 @@
-MD5 (alleggl-0.4.0_rc4.tar.bz2) = 0cbe43f8fa2488a7e7d6e9807e5f0100
-SHA256 (alleggl-0.4.0_rc4.tar.bz2) = 8f6bdc6afbd3760b1b22a7e1e55783b9f05bd94ce5e07fae8ddcf2e5441636b5
-SIZE (alleggl-0.4.0_rc4.tar.bz2) = 580424
+MD5 (alleggl-0.4.0.tar.bz2) = 43e5d123fa5c78ade8e9b486b4102998
+SHA256 (alleggl-0.4.0.tar.bz2) = 1933f57a44d8294cf699f0839e42c8dbda6481479b34d026c488506a83c9d5d2
+SIZE (alleggl-0.4.0.tar.bz2) = 625073
diff --git a/graphics/allegrogl/pkg-plist b/graphics/allegrogl/pkg-plist
index c4ffd4e76c42..4fa9766614b5 100644
--- a/graphics/allegrogl/pkg-plist
+++ b/graphics/allegrogl/pkg-plist
@@ -14,6 +14,11 @@ include/allegrogl/GLext/glx_ext_list.h
@dirrm include/allegrogl
lib/libagl.so
lib/libagl.so.%%SHLIB_VER%%
+%%EXAMPLESDIR%%/a1.bmp
+%%EXAMPLESDIR%%/a24.tga
+%%EXAMPLESDIR%%/a32.tga
+%%EXAMPLESDIR%%/a8.bmp
+%%EXAMPLESDIR%%/fonttest.c
%%EXAMPLESDIR%%/demofont.dat
%%EXAMPLESDIR%%/dialog.c
%%EXAMPLESDIR%%/dumbtest.c
@@ -41,4 +46,5 @@ lib/libagl.so.%%SHLIB_VER%%
%%PORTDOCS%%%%DOCSDIR%%/quickstart.txt
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
%%PORTDOCS%%%%DOCSDIR%%/todo.txt
+%%PORTDOCS%%%%DOCSDIR%%/zlib.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%