aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1998-08-18 23:23:02 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1998-08-18 23:23:02 +0000
commit91a75f12dde4703a2a8fa12d270063f03d401b24 (patch)
tree6ee65314f6dfc37669b62bea56cd4e0abaa70c5b /ftp
parent15ba0dd5a84a6a26000b87f8cbcd457e01884bd8 (diff)
downloadports-91a75f12dde4703a2a8fa12d270063f03d401b24.tar.gz
ports-91a75f12dde4703a2a8fa12d270063f03d401b24.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/moxftp/Makefile17
-rw-r--r--ftp/moxftp/pkg-plist5
2 files changed, 7 insertions, 15 deletions
diff --git a/ftp/moxftp/Makefile b/ftp/moxftp/Makefile
index e6d26d69d033..4c0003d8be83 100644
--- a/ftp/moxftp/Makefile
+++ b/ftp/moxftp/Makefile
@@ -3,7 +3,7 @@
# Date created: 19 December 1994
# Whom: janek
#
-# $Id: Makefile,v 1.15 1998/08/05 09:31:35 asami Exp $
+# $Id: Makefile,v 1.16 1998/08/07 23:56:43 asami Exp $
#
DISTNAME= moxftp-2.2
@@ -15,6 +15,7 @@ HAS_CONFIGURE= yes
USE_X_PREFIX= yes
STRIP=
MAN1= ${PROGRAM_NAME}.1
+PLIST_SUB= PROGRAM_NAME=${PROGRAM_NAME} RESOURCE_NAME=${RESOURCE_NAME}
# CONFIGURE_ARGS set to :
# motif - for motif version, (not tested!!!)
@@ -34,22 +35,8 @@ RESOURCE_NAME=Xftp
#LIB_DEPENDS= Xaw3d\\.6:${PORTSDIR}/x11-toolkits/Xaw3d
-.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
-
post-install:
@strip ${PREFIX}/bin/${PROGRAM_NAME}
@${INSTALL_MAN} ${WRKSRC}/${PROGRAM_NAME}.man ${PREFIX}/man/man1/${PROGRAM_NAME}.1
-pre-clean:
- @${RM} -f pkg/PLIST
-
.include <bsd.port.mk>
diff --git a/ftp/moxftp/pkg-plist b/ftp/moxftp/pkg-plist
new file mode 100644
index 000000000000..0292c2dd8777
--- /dev/null
+++ b/ftp/moxftp/pkg-plist
@@ -0,0 +1,5 @@
+@cwd /usr/X11R6
+@mode 555
+bin/%%PROGRAM_NAME%%
+@mode 444
+lib/X11/app-defaults/%%RESOURCE_NAME%%