mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Add staging support
- Remove leading article from COMMENT
This commit is contained in:
parent
96a7afec4c
commit
e0840f0932
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350693
@ -9,16 +9,14 @@ DISTNAME= ${PORTNAME}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user