aboutsummaryrefslogtreecommitdiff
path: root/editors/aewan
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-11 09:01:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-11 09:01:51 +0000
commit96e0a807887df3a15bd0af06adfe01c2ba3c6a4b (patch)
treee087ce97b54af7c340b80c7fe5b347b862381ea5 /editors/aewan
parentf14fcaeced5ba0abf03739ee6befe12c34124439 (diff)
downloadports-96e0a807887df3a15bd0af06adfe01c2ba3c6a4b.tar.gz
ports-96e0a807887df3a15bd0af06adfe01c2ba3c6a4b.zip
- Switch to options helpers
- Regenerate patches
Notes
Notes: svn path=/head/; revision=435890
Diffstat (limited to 'editors/aewan')
-rw-r--r--editors/aewan/Makefile5
-rw-r--r--editors/aewan/files/patch-aeff.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/editors/aewan/Makefile b/editors/aewan/Makefile
index f3669274fd10..9dedf897fc0b 100644
--- a/editors/aewan/Makefile
+++ b/editors/aewan/Makefile
@@ -21,7 +21,6 @@ PLIST_FILES= bin/aecat bin/aewan bin/aemakeflic \
man/man1/aewan.1.gz \
man/man1/aemakeflic.1.gz \
man/man5/aewan.5.gz
-
PORTDOCS= *
OPTIONS_DEFINE= DOCS
@@ -30,7 +29,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|OSTYPE == |OSTYPE = |g' ${WRKSRC}/configure
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
diff --git a/editors/aewan/files/patch-aeff.c b/editors/aewan/files/patch-aeff.c
index 0eb24d80994a..ba3b07f25254 100644
--- a/editors/aewan/files/patch-aeff.c
+++ b/editors/aewan/files/patch-aeff.c
@@ -1,6 +1,6 @@
---- aeff.c.orig Wed Aug 11 10:04:50 2004
-+++ aeff.c Thu Sep 2 23:56:24 2004
-@@ -187,11 +187,12 @@
+--- aeff.c.orig 2005-10-01 01:50:41 UTC
++++ aeff.c
+@@ -187,11 +187,12 @@ void aeff_write_header(AeFile *f, const
static bool aeff_read_mark(AeFile *f, const char *mark_name, char pref) {
char *line;
char *s;