summaryrefslogtreecommitdiffstats
path: root/games/adgali
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2002-01-14 21:46:21 +0000
committerjim <jim@FreeBSD.org>2002-01-14 21:46:21 +0000
commitad3077f579929fdd54e4d8a23505929a60da8bdf (patch)
tree94bbfcc83eeeb524f13ff495693bb345701ea0de /games/adgali
parent6de0041f8220df851a0b5979927219345d8e1a31 (diff)
downloadFreeBSD-ports-ad3077f579929fdd54e4d8a23505929a60da8bdf.zip
FreeBSD-ports-ad3077f579929fdd54e4d8a23505929a60da8bdf.tar.gz
Add USE_LIBTOOL and respect CFLAGS.
PR: 33882 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'games/adgali')
-rw-r--r--games/adgali/Makefile18
-rw-r--r--games/adgali/pkg-plist2
2 files changed, 13 insertions, 7 deletions
diff --git a/games/adgali/Makefile b/games/adgali/Makefile
index 560ff2c..eee405c 100644
--- a/games/adgali/Makefile
+++ b/games/adgali/Makefile
@@ -8,6 +8,7 @@
PORTNAME= adgali
PORTVERSION= 0.1.0
+PORTREVISION= 1
CATEGORIES= games devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,19 +22,24 @@ LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
+
USE_FREETYPE= yes
+USE_GMAKE= yes
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+LIBTOOLFLAGS= --disable-ltlibs --release-ignore
CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
- CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -L/usr/lib -lm"
-USE_GMAKE= yes
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-compile-type=optim
INSTALLS_SHLIB= yes
-.if !defined(NOPORTDOCS)
+post-patch:
+ @${PERL} -pi -e 's|-O3 ||g' ${WRKSRC}/configure
+
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${CP} -r ${WRKSRC}/doc/html/* ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/adgali/pkg-plist b/games/adgali/pkg-plist
index 5b51067..e168e33 100644
--- a/games/adgali/pkg-plist
+++ b/games/adgali/pkg-plist
@@ -5,9 +5,9 @@ include/agl.h
include/agl_gui.h
include/agl_ios.h
include/agl_video.h
-lib/libagl-0.1.so.0
lib/libagl.a
lib/libagl.so
+lib/libagl.so.0
share/aclocal/adgali.m4
%%PORTDOCS%%share/doc/adgali/adgali025.png
%%PORTDOCS%%share/doc/adgali/adgali150.png
OpenPOWER on IntegriCloud