aboutsummaryrefslogtreecommitdiff
path: root/graphics/allegrogl/Makefile
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 /graphics/allegrogl/Makefile
parent5f85ef1c52d1e19982ef208c4b03765c88fb3232 (diff)
downloadports-e4a7f7221a17701ff625ceaee4679f537e83561d.tar.gz
ports-e4a7f7221a17701ff625ceaee4679f537e83561d.zip
Notes
Diffstat (limited to 'graphics/allegrogl/Makefile')
-rw-r--r--graphics/allegrogl/Makefile16
1 files changed, 11 insertions, 5 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