aboutsummaryrefslogtreecommitdiffstats
path: root/irc/epic4
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-08 23:06:31 +0800
committerkrion <krion@FreeBSD.org>2003-12-08 23:06:31 +0800
commit4ce5391e2b1dea9717ec6106929dbda83a04fadb (patch)
treef10363dd6f45a098ca315e55f846c2fc0a83d42f /irc/epic4
parent95a583d7d3a308af7c2610957559401e39d58dea (diff)
downloadfreebsd-ports-gnome-4ce5391e2b1dea9717ec6106929dbda83a04fadb.tar.gz
freebsd-ports-gnome-4ce5391e2b1dea9717ec6106929dbda83a04fadb.tar.zst
freebsd-ports-gnome-4ce5391e2b1dea9717ec6106929dbda83a04fadb.zip
- Install additional documentation
- Bump PORTREVISION PR: 59778 Submitted by: Steve Wills <steve@stevenwills.com> Approved by: no response from maintainer
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%%