freebsd-ports/net/papaya-plugins/Makefile
Pete Fritchman 91e2db011f Add papaya-plugins 0.90, plugins for papaya, a graphical GTK mud
client.

PR:		32958
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2001-12-19 09:48:32 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: papaya-plugins
# Date created: 23 August 2001
# Whom: Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#
PORTNAME= papaya-plugins
PORTVERSION= 0.90
CATEGORIES= net
MASTER_SITES= http://www.gtk-papaya.org/downloads/plugins/source/
DISTNAME= papaya-plugins-src-${PORTVERSION}
MAINTAINER= edwin@mavetju.org
# We need the source for papaya to build the plugins.
BUILD_DEPENDS= ${PORTSDIR}/net/papaya/work/papaya-src-${PORTVERSION}/src/h:${PORTSDIR}/net/papaya
RUN_DEPENDS= papaya:${PORTSDIR}/net/papaya
IS_INTERACTIVE= yes
USE_GMAKE= yes
USE_GNOMELIBS= yes
USE_GTK= yes
GNU_CONFIGURE= yes
MAKE_ARGS+= CXX="${CXX}"
PLIST= ${WRKSRC}/pkg-plist
post-patch:
@${PERL} -pi -e 's,g\+\+,${CXX},g' ${WRKSRC}/Makefile.in
@${PERL} -pi -e 's,malloc.h,stdlib.h,' ${WRKSRC}/PythonPlugin.cpp \
${WRKSRC}/TurfProtocol.cpp
@${PERL} -pi -e 's,stdint.h,sys/types.h,' ${WRKSRC}/SpellStacker.h
pre-configure:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.papaya-plugins
${RM} ${WRKSRC}/config.cache
post-configure:
${LN} -fs ${PORTSDIR}/net/papaya/work/papaya-src-${PORTVERSION}/src/h ${WRKSRC}/h
post-build:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/add-plugins
.include <bsd.port.mk>
.if exists(${WRKDIR}/Makefile.inc)
.include "${WRKDIR}/Makefile.inc"
.endif