summaryrefslogtreecommitdiffstats
path: root/irc/epic5
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-08 15:06:31 +0000
committerkrion <krion@FreeBSD.org>2003-12-08 15:06:31 +0000
commit4ce5391e2b1dea9717ec6106929dbda83a04fadb (patch)
treef10363dd6f45a098ca315e55f846c2fc0a83d42f /irc/epic5
parent95a583d7d3a308af7c2610957559401e39d58dea (diff)
downloadFreeBSD-ports-4ce5391e2b1dea9717ec6106929dbda83a04fadb.zip
FreeBSD-ports-4ce5391e2b1dea9717ec6106929dbda83a04fadb.tar.gz
- Install additional documentation
- Bump PORTREVISION PR: 59778 Submitted by: Steve Wills <steve@stevenwills.com> Approved by: no response from maintainer
Diffstat (limited to 'irc/epic5')
-rw-r--r--irc/epic5/Makefile17
-rw-r--r--irc/epic5/pkg-plist4
2 files changed, 17 insertions, 4 deletions
diff --git a/irc/epic5/Makefile b/irc/epic5/Makefile
index eabcb9f..9d7d31a 100644
--- a/irc/epic5/Makefile
+++ b/irc/epic5/Makefile
@@ -7,6 +7,7 @@
PORTNAME= epic4
PORTVERSION= 1.1.16
+PORTREVISION= 1
CATEGORIES= irc ipv6
MASTER_SITES= ftp://ftp.epicsol.org/pub/epic/EPIC4-ALPHA/ \
ftp://ftp.archive.de.uu.net/pub/unix/irc/epic/EPIC4-ALPHA/
@@ -26,12 +27,20 @@ GNU_CONFIGURE= yes
MAN1= epic.1
DISTFILE_HELP= ${PORTNAME}-help-20031106.tar.gz
+post-extract:
+ @${FIND} . -type d -name CVS | ${XARGS} ${RM} -rf
+
post-patch:
- ${REINPLACE_CMD} -e 's|8.3|8.4|g' ${WRKSRC}/configure
- ${FIND} . -type d -name CVS | ${XARGS} ${RM} -rf
- ${RM} ${WRKDIR}/help/Makefile
+ @${REINPLACE_CMD} -e 's|8.3|8.4|g' ${WRKSRC}/configure
+ @${RM} ${WRKDIR}/help/Makefile
post-install:
- ${CP} -R ${WRKDIR}/help/* ${PREFIX}/share/epic/help
+ @${CP} -R ${WRKDIR}/help/* ${PREFIX}/share/epic/help
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for i in README BUG_FORM UPDATES
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/irc/epic5/pkg-plist b/irc/epic5/pkg-plist
index abf7129..2a14b43d 100644
--- a/irc/epic5/pkg-plist
+++ b/irc/epic5/pkg-plist
@@ -954,6 +954,9 @@ share/epic/script/utime
share/epic/script/vi-binds
share/epic/script/webster
share/epic/script/window
+%%PORTDOCS%%%%DOCSDIR%%/BUG_FORM
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/UPDATES
@dirrm share/epic/script
@dirrm share/epic/help/8_Scripts
@dirrm share/epic/help/7_Docs
@@ -971,3 +974,4 @@ share/epic/script/window
@dirrm share/epic/help/1_General
@dirrm share/epic/help
@dirrm share/epic
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud