diff options
author | jim <jim@FreeBSD.org> | 2002-01-15 05:46:21 +0800 |
---|---|---|
committer | jim <jim@FreeBSD.org> | 2002-01-15 05:46:21 +0800 |
commit | ad3077f579929fdd54e4d8a23505929a60da8bdf (patch) | |
tree | 94bbfcc83eeeb524f13ff495693bb345701ea0de /games/adgali/Makefile | |
parent | 6de0041f8220df851a0b5979927219345d8e1a31 (diff) | |
download | freebsd-ports-gnome-ad3077f579929fdd54e4d8a23505929a60da8bdf.tar.gz freebsd-ports-gnome-ad3077f579929fdd54e4d8a23505929a60da8bdf.tar.zst freebsd-ports-gnome-ad3077f579929fdd54e4d8a23505929a60da8bdf.zip |
Add USE_LIBTOOL and respect CFLAGS.
PR: 33882
Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'games/adgali/Makefile')
-rw-r--r-- | games/adgali/Makefile | 18 |
1 files changed, 12 insertions, 6 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> |