Generally update this PLIST, too.

This commit is contained in:
Tim Vanderhoek 1998-08-18 23:23:02 +00:00
parent 15ba0dd5a8
commit 91a75f12dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=12628
2 changed files with 7 additions and 15 deletions

View file

@ -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>

5
ftp/moxftp/pkg-plist Normal file
View file

@ -0,0 +1,5 @@
@cwd /usr/X11R6
@mode 555
bin/%%PROGRAM_NAME%%
@mode 444
lib/X11/app-defaults/%%RESOURCE_NAME%%