summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-08 15:06:31 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-08 15:06:31 +0000
commite0780cbf64428d8e43abfe499b853e5b667525d4 (patch)
tree8501d5412960e06132f1de845a30dc51fa09f61d /irc
parent- Update to 1.2.1 (now hosted at SourceForge) (diff)
- Install additional documentation
- Bump PORTREVISION PR: 59778 Submitted by: Steve Wills <steve@stevenwills.com> Approved by: no response from maintainer
Notes
Notes: svn path=/head/; revision=95381
Diffstat (limited to 'irc')
-rw-r--r--irc/epic4/Makefile17
-rw-r--r--irc/epic4/pkg-plist4
-rw-r--r--irc/epic5/Makefile17
-rw-r--r--irc/epic5/pkg-plist4
4 files changed, 34 insertions, 8 deletions
diff --git a/irc/epic4/Makefile b/irc/epic4/Makefile
index eabcb9fc4698..9d7d31aeed02 100644
--- a/irc/epic4/Makefile
+++ b/irc/epic4/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/epic4/pkg-plist b/irc/epic4/pkg-plist
index abf71299ee32..2a14b43ddd9d 100644
--- a/irc/epic4/pkg-plist
+++ b/irc/epic4/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%%
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%%