mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: paragui
|
|
# Date Created: Mar 28, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= paragui
|
|
PORTVERSION= 1.0.4
|
|
PORTREVISION= 6
|
|
CATEGORIES= x11-toolkits
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
|
|
http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= shaun@FreeBSD.org
|
|
COMMENT= Cross-platform high-level application framework and GUI library
|
|
|
|
LIB_DEPENDS= physfs-1.0.1:${PORTSDIR}/devel/physfs \
|
|
expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
CONFLICTS= paragui-devel-[0-9]*
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_SDL= sdl image ttf
|
|
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
SHLIB_VER= 4
|
|
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
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>
|