54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ggz-client-libs
|
|
# Date created: Oct 8, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ggz-client-libs
|
|
PORTVERSION= 0.0.12
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \
|
|
http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
|
|
|
MAINTAINER= yinjieh@csie.nctu.edu.tw
|
|
COMMENT= The GGZ Gaming Zone - Core Client Libraries
|
|
|
|
LIB_DEPENDS= ggz.3:${PORTSDIR}/games/libggz \
|
|
expat.5:${PORTSDIR}/textproc/expat2
|
|
|
|
USE_GNOME= gnometarget
|
|
USE_GETOPT_LONG= yes
|
|
USE_GETTEXT= yes
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --disable-debug
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAN3= ggzcore_h.3 ggzmod_h.3
|
|
MAN5= ggz.modules.5
|
|
MAN6= ggz-config.6 ggz-wrapper.6
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|LIBGGZ_INCLUDES=.*$$|LIBGGZ_INCLUDES=|g ; \
|
|
s|LIBGGZ_LDFLAGS=.*$$|LIBGGZ_LDFLAGS=|g ; \
|
|
s|libggz.la|libggz.so|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|