aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ftp/moxftp/Makefile6
-rw-r--r--ftp/moxftp/pkg-plist3
2 files changed, 3 insertions, 6 deletions
diff --git a/ftp/moxftp/Makefile b/ftp/moxftp/Makefile
index 918357bf0dad..fee4a4f08a69 100644
--- a/ftp/moxftp/Makefile
+++ b/ftp/moxftp/Makefile
@@ -18,7 +18,6 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
MAN1= ${PROGRAM_NAME}.1
PLIST_SUB= PROGRAM_NAME=${PROGRAM_NAME} RESOURCE_NAME=${RESOURCE_NAME}
-STRIP= # empty
.if !defined(WANT_ATHENA_VERSION)
USE_MOTIF= yes
@@ -31,8 +30,9 @@ PROGRAM_NAME= xftp
RESOURCE_NAME= Xftp
.endif
-post-install:
- @strip ${PREFIX}/bin/${PROGRAM_NAME}
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM_NAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PROGRAM_NAME}.man ${MANPREFIX}/man/man1/${PROGRAM_NAME}.1
+ ${INSTALL_DATA} ${WRKSRC}/${RESOURCE_NAME}.ad ${PREFIX}/lib/X11/app-defaults/${RESOURCE_NAME}
.include <bsd.port.mk>
diff --git a/ftp/moxftp/pkg-plist b/ftp/moxftp/pkg-plist
index 0292c2dd8777..9bf6af579d40 100644
--- a/ftp/moxftp/pkg-plist
+++ b/ftp/moxftp/pkg-plist
@@ -1,5 +1,2 @@
-@cwd /usr/X11R6
-@mode 555
bin/%%PROGRAM_NAME%%
-@mode 444
lib/X11/app-defaults/%%RESOURCE_NAME%%