mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
35 lines
963 B
Makefile
35 lines
963 B
Makefile
# Created by: chuckr@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= global
|
|
PORTVERSION= 6.2.8
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
|
COMMENT= A source code tag system
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= perl5
|
|
|
|
MAN1= global.1 globash.1 gozilla.1 gtags.1 gtags-cscope.1 htags.1
|
|
INFO= global
|
|
|
|
DOCS= AUTHORS COPYING ChangeLog FAQ INSTALL LICENSE NEWS README THANKS
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
${REINPLACE_CMD} -E 's,^(gtags_DATA = )AUTHORS .* THANKS( \\$$),\1\2,' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
|
|
.endif
|
|
|
|
# This target is only meant to be used by the port maintainer.
|
|
x-generate-plist:
|
|
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${SED} -E 's,.*share/nls/.+$$,,;s,(@dirrm )share/doc/global,%%PORTDOCS%%\1%%DOCSDIR%%,;s,share/doc/global,%%PORTDOCS%%%%DOCSDIR%%,;s,^info/.+,,'|${TR} -s '\n') > temp-pkg-plist
|
|
|
|
.include <bsd.port.mk>
|