mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
5c5e392fbc
PR: ports/108600 (based on) Submitted by: Damien Deville <damien.deville@netasq.com>
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# New ports collection makefile for: global
|
|
# Date created: 20 June 2000
|
|
# Whom: chuckr@freebsd.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= global
|
|
PORTVERSION= 5.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A source code tag system
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_PERL5= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAN1= global.1 gozilla.1 gtags.1 gtags-cscope.1 gtags-parser.1 htags.1
|
|
INFO= global
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -E 's,^(gtags_DATA = )AUTHORS .* THANKS( \\$$),\1\2,' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/global
|
|
.for file in AUTHORS COPYING ChangeLog FAQ INSTALL LICENSE NEWS README \
|
|
THANKS
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/global
|
|
.endfor
|
|
.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>
|