aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/moxftp
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-08-19 07:23:02 +0800
committerhoek <hoek@FreeBSD.org>1998-08-19 07:23:02 +0800
commit0fbdf3708ff69bcd324c1c4e9a12227f4a6a1950 (patch)
treee25900f1f57964904dce55693bb3d5131fe14f71 /ftp/moxftp
parentfa7f917e43c97375385ed26ddcf4d064324279b4 (diff)
downloadfreebsd-ports-gnome-0fbdf3708ff69bcd324c1c4e9a12227f4a6a1950.tar.gz
freebsd-ports-gnome-0fbdf3708ff69bcd324c1c4e9a12227f4a6a1950.tar.zst
freebsd-ports-gnome-0fbdf3708ff69bcd324c1c4e9a12227f4a6a1950.zip
Generally update this PLIST, too.
Diffstat (limited to 'ftp/moxftp')
-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%%