summaryrefslogtreecommitdiff
path: root/emulators/aftp
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-07-01 02:18:46 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-07-01 02:18:46 +0000
commitbb2dabcbefcddaca30a767ca01800a45313013bf (patch)
tree9ca10fb736fda49ff100cb37e5aef8fa2dcff32f /emulators/aftp
parent- Heed CXX (fixes build on systems without g++; per clang -exp run) (diff)
Heed CC/CPPFLAGS/CFLAGS, fixes clang build.
Drop MD5 from distinfo.
Notes
Notes: svn path=/head/; revision=276762
Diffstat (limited to 'emulators/aftp')
-rw-r--r--emulators/aftp/Makefile3
-rw-r--r--emulators/aftp/distinfo1
2 files changed, 3 insertions, 1 deletions
diff --git a/emulators/aftp/Makefile b/emulators/aftp/Makefile
index 22314ac3a42c..4849cdcc54c7 100644
--- a/emulators/aftp/Makefile
+++ b/emulators/aftp/Makefile
@@ -19,6 +19,9 @@ COMMENT= A ftp-like shell for accessing Apple II disk images
MAN1= aftp.1
PLIST_FILES= bin/aftp
+post-patch:
+ ${REINPLACE_CMD} -e 's|^CC=.*|CC=${CC} ${CPPFLAGS} ${CFLAGS}|' ${WRKSRC}/Makefile
+
post-install:
${INSTALL_MAN} ${FILESDIR}/aftp.1 ${PREFIX}/man/man1
diff --git a/emulators/aftp/distinfo b/emulators/aftp/distinfo
index f02751c949e3..abbf6f48a4ab 100644
--- a/emulators/aftp/distinfo
+++ b/emulators/aftp/distinfo
@@ -1,3 +1,2 @@
-MD5 (aftp.tgz) = 65badcfefbcbb7f70d968b26cab1b9e4
SHA256 (aftp.tgz) = dc5b468ebb91cd47cbdb351dc79cb55f4ee4bd040a5045520393971860d59b9c
SIZE (aftp.tgz) = 15295