1994-12-29 13:04:34 +00:00
|
|
|
# New ports collection makefile for: moxftp
|
|
|
|
# Version required: 2.2
|
|
|
|
# Date created: 19 December 1994
|
|
|
|
# Whom: janek
|
|
|
|
#
|
1996-12-01 01:23:27 +00:00
|
|
|
# $Id: Makefile,v 1.11 1996/11/18 09:54:35 asami Exp $
|
1995-04-15 05:42:12 +00:00
|
|
|
#
|
1994-12-29 13:04:34 +00:00
|
|
|
|
|
|
|
DISTNAME= moxftp-2.2
|
1996-11-18 09:56:45 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
|
|
MASTER_SITE_SUBDIR= applications
|
1995-02-09 18:42:18 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1995-04-15 05:42:12 +00:00
|
|
|
|
1994-12-29 13:04:34 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1995-05-13 09:14:05 +00:00
|
|
|
USE_X11= yes
|
|
|
|
STRIP=
|
1996-12-01 01:23:27 +00:00
|
|
|
MAN1= ${PROGRAM_NAME}.1
|
1994-12-29 13:04:34 +00:00
|
|
|
|
|
|
|
# CONFIGURE_ARGS set to :
|
|
|
|
# motif - for motif version, (not tested!!!)
|
|
|
|
# athena - for athena version,
|
|
|
|
# athena3d - for athena 3 d version, (you should have installed Xaw3d!!!)
|
|
|
|
# openlook - for open look version - (not tested!!!)
|
1996-10-15 18:25:56 +00:00
|
|
|
# If you use athena3d uncomment LIB_DEPENDS !!!
|
1996-10-11 20:36:10 +00:00
|
|
|
.if defined(HAVE_MOTIF)
|
|
|
|
CONFIGURE_ARGS= motif
|
|
|
|
PROGRAM_NAME=mftp
|
|
|
|
RESOURCE_NAME=Mftp
|
|
|
|
.else
|
1994-12-29 13:04:34 +00:00
|
|
|
CONFIGURE_ARGS= athena
|
1996-10-11 20:36:10 +00:00
|
|
|
PROGRAM_NAME=xftp
|
|
|
|
RESOURCE_NAME=Xftp
|
|
|
|
.endif
|
1994-12-29 13:04:34 +00:00
|
|
|
|
1996-10-15 18:25:56 +00:00
|
|
|
#LIB_DEPENDS= Xaw3d\\.6:${PORTSDIR}/x11/Xaw3d
|
|
|
|
|
1996-10-11 20:36:10 +00:00
|
|
|
.if !defined (NOMANCOMPRESS)
|
|
|
|
GZIP_EXT=.gz
|
|
|
|
.else
|
|
|
|
GZIP_EXT=
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
sed -e 's,@PROGRAM_NAME@,${PROGRAM_NAME},' \
|
|
|
|
-e 's,@RESOURCE_NAME@,${RESOURCE_NAME},' \
|
|
|
|
-e 's,@GZIP_EXT@,${GZIP_EXT},' pkg/PLIST.in >pkg/PLIST
|
1994-12-29 13:04:34 +00:00
|
|
|
|
1995-05-13 09:14:05 +00:00
|
|
|
post-install:
|
1996-12-01 01:23:27 +00:00
|
|
|
@strip ${PREFIX}/bin/${PROGRAM_NAME}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${PROGRAM_NAME}.man ${PREFIX}/man/man1/${PROGRAM_NAME}.1
|
1996-10-11 20:36:10 +00:00
|
|
|
|
|
|
|
pre-clean:
|
1996-12-01 01:23:27 +00:00
|
|
|
@${RM} -f pkg/PLIST
|
1995-05-13 09:14:05 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|