ef3a76eada
people use a + as a separator for this that I automaticly put that here) Submitted by: Adam Kranzel <adam@blacktabby.org>
41 lines
922 B
Makefile
41 lines
922 B
Makefile
# New ports collection makefile for: papaya
|
|
# Date created: 23 August 2001
|
|
# Whom: Edwin Groothuis <edwin@mavetju.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= papaya
|
|
PORTVERSION= 0.90
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.gtk-papaya.org/downloads/source/
|
|
DISTNAME= papaya-src-${PORTVERSION}
|
|
|
|
MAINTAINER= adam-ports@blacktabby.org
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_GTK= yes
|
|
WANT_GNOME= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(HAVE_GNOME)
|
|
CONFIGURE_ARGS+= --disable-gnome
|
|
.endif
|
|
|
|
CONFIGURE_ENV+= GLIBCONFIG=${GLIB_CONFIG} GTKCONFIG=${GTK_CONFIG}
|
|
MAKE_ARGS+= PTHREAD_LIBS=${PTHREAD_LIBS} CXX="${CXX}"
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s|/usr/local|${PREFIX}|" \
|
|
${WRKSRC}/src/install-system.sh
|
|
@${PERL} -pi -e "s|\@INSTALL\@|${INSTALL_PROGRAM}|g; \
|
|
s|\@INSTALL_DATA\@|${INSTALL_DATA}|g" \
|
|
${WRKSRC}/src/install-system.sh ${WRKSRC}/po/Makefile.in.in
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|