aboutsummaryrefslogtreecommitdiff
path: root/irc/epic4
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/epic4
parent62266663da416d5570d42fa229b3b01ce9428652 (diff)
downloadports-e0780cbf64428d8e43abfe499b853e5b667525d4.tar.gz
ports-e0780cbf64428d8e43abfe499b853e5b667525d4.zip
Notes
Diffstat (limited to 'irc/epic4')
-rw-r--r--irc/epic4/Makefile17
-rw-r--r--irc/epic4/pkg-plist4
2 files changed, 17 insertions, 4 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%%