- Switch to options helpers

- Simplify patching
This commit is contained in:
Dmitry Marakasov 2015-12-25 14:43:57 +00:00
parent 8e0d3922b9
commit 8733e020b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404428
2 changed files with 8 additions and 8 deletions

View file

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

View file

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