fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# New ports collection makefile for: paragui
|
|
# Date Created: Mar 28, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= paragui
|
|
PORTVERSION= 1.1.8
|
|
PORTREVISION= 11
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Cross-platform high-level application framework and GUI library(devel)
|
|
|
|
LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs \
|
|
expat.6:${PORTSDIR}/textproc/expat2 \
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
|
|
|
|
CONFLICTS= paragui-[0-9]*
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
USE_SDL= sdl image ttf
|
|
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
|
|
CPPFLAGS+= -I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
USE_LDCONFIG= yes
|
|
|
|
SHLIB_VER= 4
|
|
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
|
|
|
OPTIONS= DEBUG "Debug information" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
post-extract:
|
|
@${RM} -f ${WRKSRC}/src/physfs/platform.c
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \
|
|
s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|[$][(]SDL_CFLAGS[)]|\$\(PARAGUI_CFLAGS\)|g ; \
|
|
s|lib/pkgconfig|libdata/pkgconfig|g ; \
|
|
s|-L[./]*../src|&/.libs |g ; \
|
|
s|-release $$(LT_RELEASE)||g'
|
|
|
|
.include <bsd.port.post.mk>
|