summaryrefslogtreecommitdiff
path: root/misc/jargon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/jargon/Makefile')
-rw-r--r--misc/jargon/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/misc/jargon/Makefile b/misc/jargon/Makefile
index cf1bc6769ad5..6aca6e570a3c 100644
--- a/misc/jargon/Makefile
+++ b/misc/jargon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jargon
-PORTVERSION= 4.3.3
+PORTVERSION= 4.4.2
CATEGORIES= misc
MASTER_SITES= http://www.catb.org/~esr/jargon/
@@ -16,27 +16,14 @@ COMMENT= The famous jargon file
NO_BUILD= yes
USE_REINPLACE= yes
-FILES= alternates.html awards.html download.html index.html \
- jargbook.html jarghist.html jargon.html jargoogle.html \
- jargtxt.html mirroring.html mirrorlist.html quoting.html \
- related.html search.html submissions.html
+DATADIR= ${PREFIX}/share/jargon
-post-patch:
- @${CHMOD} +w ${WRKSRC}/jargon-search
- @${REINPLACE_CMD} -e 's,/home/httpd/html,${PREFIX}/www/data,' \
- ${WRKSRC}/jargon-search
+post-extract:
+ (cd ${WRKSRC}; ${RM} -rf html/graphics/.xvpics graphics/.xvpics)
do-install:
- @${MKDIR} ${PREFIX}/www/cgi-bin
- @${INSTALL_SCRIPT} ${WRKSRC}/jargon-search ${PREFIX}/www/cgi-bin
- @${MKDIR} ${PREFIX}/www/data/jargon
-.for file in ${FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/www/data/jargon
-.endfor
- @${INSTALL_DATA} ${DISTDIR}/${DISTFILES} ${PREFIX}/www/data/jargon
- @${CP} -R ${WRKSRC}/graphics ${PREFIX}/www/data/jargon/
- @${CP} -R ${WRKSRC}/html ${PREFIX}/www/data/jargon/
- @${MKDIR} ${PREFIX}/share/doc/jargon
- @${INSTALL_DATA} ${WRKSRC}/jargon-README ${PREFIX}/share/doc/jargon
+ ${MKDIR} ${DATADIR}
+ (cd ${WRKSRC}; pax -rw . ${DATADIR})
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
.include <bsd.port.mk>