aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-25 22:43:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-25 22:43:57 +0800
commit76578600ba0a1f0b3020430f1ee3de6fc6a55e7c (patch)
treee81fd829cb0e2667e94abc3f69ebd0bd5b5cabd0 /comms
parent69dd93735394e0c3c6bde4108ea4cd42c9c2807f (diff)
downloadfreebsd-ports-gnome-76578600ba0a1f0b3020430f1ee3de6fc6a55e7c.tar.gz
freebsd-ports-gnome-76578600ba0a1f0b3020430f1ee3de6fc6a55e7c.tar.zst
freebsd-ports-gnome-76578600ba0a1f0b3020430f1ee3de6fc6a55e7c.zip
- Switch to options helpers
- Simplify patching
Diffstat (limited to 'comms')
-rw-r--r--comms/gkermit/Makefile8
-rw-r--r--comms/gkermit/files/patch-makefile (renamed from comms/gkermit/files/patch-Makefile)8
2 files changed, 8 insertions, 8 deletions
diff --git a/comms/gkermit/Makefile b/comms/gkermit/Makefile
index e8e597112d4d..e23fa8e1acdd 100644
--- a/comms/gkermit/Makefile
+++ b/comms/gkermit/Makefile
@@ -13,16 +13,16 @@ COMMENT= File transfer utility using the kermit protocol
NO_WRKSUBDIR= yes
ALL_TARGET= posix
+MAKEFILE= makefile
OPTIONS_DEFINE= DOCS
-post-extract:
- cd ${WRKSRC} && ${MV} makefile Makefile
-
do-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/gkermit ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/gkermit.nr ${STAGEDIR}${PREFIX}/man/man1/gkermit.1
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/gkermit.txt
.include <bsd.port.mk>
diff --git a/comms/gkermit/files/patch-Makefile b/comms/gkermit/files/patch-makefile
index cd972eb02a55..dac443e904e6 100644
--- a/comms/gkermit/files/patch-Makefile
+++ b/comms/gkermit/files/patch-makefile
@@ -1,6 +1,6 @@
---- Makefile.orig Tue Jan 11 08:42:38 2000
-+++ Makefile Tue Jan 11 08:44:12 2000
-@@ -37,8 +37,10 @@
+--- makefile.orig 1999-12-26 20:28:38 UTC
++++ makefile
+@@ -37,8 +37,10 @@ MANEXT = l
# Default compiler and flags
@@ -13,7 +13,7 @@
# Object files
-@@ -70,13 +72,13 @@
+@@ -70,13 +72,13 @@ gkermit: gproto.o gkermit.o gunixio.o gc
$(CC) -o gkermit $(OBJECTS)
bsd: gwart