freebsd-ports/ftp/gftp/Makefile

43 lines
938 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 01:57:29 -04:00
# $FreeBSD$
#
2000-04-12 01:31:29 -04:00
PORTNAME= gftp
PORTVERSION= 2.0.13
1999-08-02 06:44:03 -04:00
CATEGORIES= ftp
1999-09-09 19:00:43 -04:00
MASTER_SITES= http://gftp.seul.org/ \
ftp://gftp.seul.org/pub/gftp/
MAINTAINER= lehmann@ans-netz.de
USE_X_PREFIX= yes
USE_GNOMENG= yes
2000-10-05 03:22:56 -04:00
WANT_GNOME= yes
USE_GNOME= gtk12 gnomehack
GNU_CONFIGURE= yes
2000-10-05 03:22:56 -04:00
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2000-10-05 03:22:56 -04:00
MAN1= gftp.1
2000-10-05 03:22:56 -04:00
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mgnomelibs}!=""
USE_GNOME+= gnomeprefix gnomelibs
PKGNAMESUFFIX= -gnome
PLIST_SUB= DATADIR="share/gnome"
.else
PLIST_SUB= DATADIR="share"
2000-10-05 03:22:56 -04:00
.endif
post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
2000-10-05 03:22:56 -04: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
2000-10-05 03:22:56 -04:00
.include <bsd.port.post.mk>