svn commit: r350693 - in head/emulators/aftp: . files
Pawel Pekala
pawel at FreeBSD.org
Wed Apr 9 12:41:58 UTC 2014
Author: pawel
Date: Wed Apr 9 12:41:57 2014
New Revision: 350693
URL: http://svnweb.freebsd.org/changeset/ports/350693
QAT: https://qat.redports.org/buildarchive/r350693/
Log:
- Add staging support
- Remove leading article from COMMENT
Modified:
head/emulators/aftp/Makefile
head/emulators/aftp/files/patch-aa
Modified: head/emulators/aftp/Makefile
==============================================================================
--- head/emulators/aftp/Makefile Wed Apr 9 12:39:38 2014 (r350692)
+++ head/emulators/aftp/Makefile Wed Apr 9 12:41:57 2014 (r350693)
@@ -9,16 +9,14 @@ DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
-COMMENT= A ftp-like shell for accessing Apple II disk images
+COMMENT= Ftp-like shell for accessing Apple II disk images
-MAN1= aftp.1
-PLIST_FILES= bin/aftp
+PLIST_FILES= bin/aftp man/man1/aftp.1.gz
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|^CC=.*|CC=${CC} ${CPPFLAGS} ${CFLAGS}|' ${WRKSRC}/Makefile
post-install:
- ${INSTALL_MAN} ${FILESDIR}/aftp.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${FILESDIR}/aftp.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>
Modified: head/emulators/aftp/files/patch-aa
==============================================================================
--- head/emulators/aftp/files/patch-aa Wed Apr 9 12:39:38 2014 (r350692)
+++ head/emulators/aftp/files/patch-aa Wed Apr 9 12:41:57 2014 (r350693)
@@ -20,8 +20,6 @@
! OBJS= aftp.o pro.o dos.o
! #CC_OPTS= -DDIRECTORY_COMMANDS
! CC= gcc ${CC_OPTS}
-! INSTALL= install -c
-! INSTALL_BIN= ${INSTALL} -s -o bin -g bin
! PREFIX?= /usr/local
!
! all: aftp
@@ -33,7 +31,7 @@
! ${CC} -c ${CFLAGS} $<
!
! install: all
-! ${INSTALL_BIN} aftp ${PREFIX}/bin/
+! ${BSD_INSTALL_PROGRAM} aftp ${DESTDIR}${PREFIX}/bin
clean:
rm -f $(OBJS) aftp
More information about the svn-ports-all
mailing list