add gtags support.

Submitted by: issei
This commit is contained in:
FUJISHIMA Satsuki 2000-12-30 22:01:57 +00:00
parent 37014a880c
commit 62e2855433
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36483
4 changed files with 10 additions and 3 deletions

View File

@ -13,8 +13,10 @@ MASTER_SITES= http://www.io.com/~kazushi/less/ \
MASTER_SITE_SUBDIR= less
DISTNAME= less-${PORTVERSION:R}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${XGTAGS}${EXTRACT_SUFX} \
regex_cs-lwp9k.shar.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \
${XGTAGS}${EXTRACT_SUFX}
PATCH_SITES= http://www.io.com/~kazushi/less/
PATCHFILES= ${DISTNAME}-iso${PORTVERSION:E}.patch.gz
@ -29,16 +31,19 @@ MAN1= jless.1 jlesskey.1
DOCDIR= ${PREFIX}/share/doc/less
READMES= README.iso README.regex README.iso.jp README.regex.jp
XGTAGS= ${DISTNAME}-iso${PORTVERSION:E}+gtags
post-patch:
(cd ${WRKSRC} ; \
(cd ${WRKSRC} ; \
${RM} -f configure COPYING; \
${GZCAT} ${DISTDIR}/regex_cs-lwp9k.shar.gz | ${SH} )
${PATCH} ${PATCH_DIST_ARGS} < ${WRKDIR}/${XGTAGS}/${XGTAGS}.diff
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
(cd ${WRKSRC}; ${INSTALL_DATA} ${READMES} ${DOCDIR})
${INSTALL_DATA} ${WRKDIR}/${XGTAGS}/README ${DOCDIR}/README.gtags
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,4 @@
MD5 (less-358.tar.gz) = 692a94060a50dd35a4d65176cb899444
MD5 (regex_cs-lwp9k.shar.gz) = 2218027bfdb7acf3c1a052ed48a6d48b
MD5 (less-358-iso254+gtags.tar.gz) = 276e7e0e862310878e8c207826d6ffe7
MD5 (less-358-iso254.patch.gz) = 4ccb02cfcdd9aafc2b147d56c895716a

View File

@ -5,4 +5,4 @@
*/
-char version[] = "358+iso254";
+char version[] = "358+iso254+regex_cs-lwp9k";
+char version[] = "358+iso254+regex_cs-lwp9k+gtags";

View File

@ -1,6 +1,7 @@
bin/jless
bin/jlesskey
bin/jlessecho
share/doc/less/README.gtags
share/doc/less/README.iso
share/doc/less/README.iso.jp
share/doc/less/README.regex