1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/ftp/gftp/Makefile

41 lines
947 B
Makefile
Raw Normal View History

# New ports collection makefile for: gftp
# Date Created: 21 Feb 1999
# Whom: Damjan Marion <dmarion@open.hr>
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
2000-04-12 05:31:29 +00:00
PORTNAME= gftp
2000-08-15 06:10:58 +00:00
PORTVERSION= 2.0.7b
1999-08-02 10:44:03 +00:00
CATEGORIES= ftp
1999-09-09 23:00:43 +00:00
MASTER_SITES= http://gftp.seul.org/ \
ftp://gftp.seul.org/pub/gftp/
MAINTAINER= dmarion@open.hr
USE_X_PREFIX= yes
2000-10-05 07:22:56 +00:00
USE_GTK= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
2000-10-05 07:22:56 +00:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2000-10-05 07:22:56 +00:00
MAN1= gftp.1
2000-10-05 07:22:56 +00:00
.include <bsd.port.pre.mk>
2000-10-05 07:22:56 +00:00
.if defined(HAVE_GNOME)
USE_GNOME= yes
.endif
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
2000-10-05 07:22:56 +00:00
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
2000-10-05 07:22:56 +00:00
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g'
2000-10-05 07:22:56 +00:00
.include <bsd.port.post.mk>