2000-06-28 01:04:13 +00:00
|
|
|
# New ports collection makefile for: global
|
|
|
|
# Date created: 20 June 2000
|
|
|
|
# Whom: chuckr@freebsd.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= global
|
2005-01-12 04:39:24 +00:00
|
|
|
PORTVERSION= 4.8.2
|
2000-06-28 01:04:13 +00:00
|
|
|
CATEGORIES= devel
|
2003-06-22 15:58:16 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2003-07-08 12:03:14 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-06-28 01:04:13 +00:00
|
|
|
|
2003-06-22 15:58:16 +00:00
|
|
|
MAINTAINER= rui@ruilopes.com
|
2003-02-20 19:41:12 +00:00
|
|
|
COMMENT= A source code tag system
|
2000-06-28 01:04:13 +00:00
|
|
|
|
2000-10-29 19:16:20 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2002-06-18 09:05:32 +00:00
|
|
|
USE_PERL5= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2000-06-28 01:04:13 +00:00
|
|
|
|
2002-11-15 18:46:14 +00:00
|
|
|
MAN1= gctags.1 global.1 gozilla.1 gtags.1 htags.1
|
2003-10-21 14:25:00 +00:00
|
|
|
INFO= global
|
2000-10-29 19:16:20 +00:00
|
|
|
|
2004-09-02 09:39:57 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -E 's,^(gtags_DATA = )AUTHORS .* THANKS( \\$$),\1\2,' ${WRKSRC}/Makefile.in
|
|
|
|
|
2000-10-29 19:16:20 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/global
|
|
|
|
.for file in AUTHORS COPYING ChangeLog FAQ INSTALL LICENSE NEWS README \
|
2002-01-12 17:56:59 +00:00
|
|
|
THANKS
|
2000-10-29 19:16:20 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/share/doc/global
|
|
|
|
.endfor
|
|
|
|
.endif
|
2000-06-28 01:04:13 +00:00
|
|
|
|
2005-01-12 04:39:24 +00:00
|
|
|
# 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
|
|
|
|
|
2000-06-28 01:04:13 +00:00
|
|
|
.include <bsd.port.mk>
|