2000-06-15 06:48:01 -04:00
|
|
|
# New ports collection makefile for: xmps
|
2000-11-01 10:51:11 -05:00
|
|
|
# Date created: 15 June 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-06-15 06:48:01 -04:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmps
|
2001-02-04 17:01:32 -05:00
|
|
|
PORTVERSION= 0.2.0
|
2000-06-15 06:48:01 -04:00
|
|
|
CATEGORIES= graphics gnome
|
2000-10-15 08:05:09 -04:00
|
|
|
MASTER_SITES= http://xmps.sourceforge.net/sources/
|
2000-06-15 06:48:01 -04:00
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2002-04-17 08:38:02 -04:00
|
|
|
LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12
|
2001-02-06 03:14:00 -05:00
|
|
|
|
2000-06-15 06:48:01 -04:00
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
|
|
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= yes
|
2001-02-04 17:01:32 -05:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-06-15 06:48:01 -04:00
|
|
|
SDL_CONFIG="${SDL_CONFIG}" \
|
2000-12-19 10:41:34 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-10-05 03:10:50 -04:00
|
|
|
|
2001-04-02 05:12:43 -04:00
|
|
|
post-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
|
2000-10-05 03:10:50 -04:00
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
|
|
|
|
s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g ; \
|
2001-02-04 17:01:32 -05:00
|
|
|
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g ; \
|
2001-03-29 11:35:19 -05:00
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g'
|
2000-06-15 06:48:01 -04:00
|
|
|
|
2000-10-12 05:10:35 -04:00
|
|
|
post-configure:
|
|
|
|
@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
|
|
|
|
${WRKSRC}/libtool
|
|
|
|
|
2000-06-15 06:48:01 -04:00
|
|
|
.include <bsd.port.mk>
|