summaryrefslogtreecommitdiff
path: root/irc/epic5
diff options
context:
space:
mode:
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 eabcb9fc4698..9d7d31aeed02 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 abf71299ee32..2a14b43ddd9d 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%%