diff options
author | Jim Mock <jim@FreeBSD.org> | 2002-01-14 21:46:21 +0000 |
---|---|---|
committer | Jim Mock <jim@FreeBSD.org> | 2002-01-14 21:46:21 +0000 |
commit | e331adf0e851ce4e356e51fa97474908871c5166 (patch) | |
tree | 284f41c277a4cb7de987440ae6292aaba9c20cba /games/adgali | |
parent | 0c41b37fa6401e78f988eaa186c83c654e12d3e9 (diff) | |
download | ports-e331adf0e851ce4e356e51fa97474908871c5166.tar.gz ports-e331adf0e851ce4e356e51fa97474908871c5166.zip |
Notes
Diffstat (limited to 'games/adgali')
-rw-r--r-- | games/adgali/Makefile | 18 | ||||
-rw-r--r-- | games/adgali/pkg-plist | 2 |
2 files changed, 13 insertions, 7 deletions
diff --git a/games/adgali/Makefile b/games/adgali/Makefile index 560ff2c944d1..eee405cf8c55 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 5b510676fd51..e168e33874b8 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 |