2001-03-28 17:35:42 +02:00
|
|
|
# New ports collection makefile for: paragui
|
|
|
|
# Date Created: Mar 28, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= paragui
|
2006-06-21 19:18:05 +02:00
|
|
|
PORTVERSION= 1.1.8
|
2010-08-11 08:57:34 +02:00
|
|
|
PORTREVISION= 10
|
2001-03-28 17:35:42 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2006-06-21 19:18:05 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
2006-05-12 15:56:23 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2006-06-21 19:18:05 +02:00
|
|
|
PKGNAMESUFFIX= -devel
|
2001-03-28 17:35:42 +02:00
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2006-06-21 19:18:05 +02:00
|
|
|
COMMENT= Cross-platform high-level application framework and GUI library(devel)
|
2001-03-28 17:35:42 +02:00
|
|
|
|
2009-04-04 14:05:22 +02:00
|
|
|
LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs \
|
2006-06-21 19:18:05 +02:00
|
|
|
expat.6:${PORTSDIR}/textproc/expat2 \
|
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
|
|
|
sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
|
|
|
|
|
|
|
|
CONFLICTS= paragui-[0-9]*
|
2001-03-28 17:35:42 +02:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2004-01-23 23:24:30 +01:00
|
|
|
USE_SDL= sdl image ttf
|
2006-06-21 19:18:05 +02:00
|
|
|
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= -L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-03-28 17:35:42 +02:00
|
|
|
|
2003-07-26 20:40:03 +02:00
|
|
|
SHLIB_VER= 4
|
2002-03-03 08:24:56 +01:00
|
|
|
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
|
|
|
|
2006-06-21 19:18:05 +02:00
|
|
|
OPTIONS= DEBUG "Debug information" off
|
|
|
|
|
2003-10-02 19:29:47 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-06-21 19:18:05 +02:00
|
|
|
.if defined(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS+= --enable-debug
|
2003-10-02 19:29:47 +02:00
|
|
|
.endif
|
|
|
|
|
2002-04-08 22:27:21 +02:00
|
|
|
post-extract:
|
|
|
|
@${RM} -f ${WRKSRC}/src/physfs/platform.c
|
|
|
|
|
2001-04-26 20:44:30 +02:00
|
|
|
post-patch:
|
2003-07-26 20:40:03 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|LT_CURRENT=.*$$|LT_CURRENT=${SHLIB_VER}|g ; \
|
2002-03-03 08:24:56 +01:00
|
|
|
s|`sdl-config |`\$$\{SDL_CONFIG\} |g' ${WRKSRC}/configure
|
2003-10-02 19:29:47 +02:00
|
|
|
|
2002-06-19 01:04:31 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|[$][(]SDL_CFLAGS[)]|\$\(PARAGUI_CFLAGS\)|g ; \
|
2003-07-26 20:40:03 +02:00
|
|
|
s|lib/pkgconfig|libdata/pkgconfig|g ; \
|
2005-06-03 22:18:13 +02:00
|
|
|
s|-L[./]*../src|&/.libs |g ; \
|
|
|
|
s|-release $$(LT_RELEASE)||g'
|
2001-03-28 17:35:42 +02:00
|
|
|
|
2003-10-02 19:29:47 +02:00
|
|
|
.include <bsd.port.post.mk>
|