blob: 723fc0b486e2cee2b3f19114836f03649c577d4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= hypersrc
PORTVERSION= 5.4.21
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= ftp://ftp.jimbrooks.org/hypersrc/%SUBDIR%/ \
http://www.home.earthlink.net/~jebrooks1/ftp/hypersrc/%SUBDIR%/
MASTER_SITE_SUBDIR= latest old
MAINTAINER= dhn@FreeBSD.org
COMMENT= Source code browser
RUN_DEPENDS= exctags:${PORTSDIR}/devel/ctags
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GNOME= gnomelibs
MAKEFILE= GNUmakefile
MAKE_ARGS= CC="${CC}" C_OPTIMIZE="${CFLAGS}"
USES= shebangfix gmake perl5
SHEBANG_FILES= Hypersrc.pl
MAN1= hypersrc.1
PLIST_FILES= bin/hypersrc bin/Hypersrc.pl bin/ctags.pl
post-patch:
@${REINPLACE_CMD} -i '' -e 's|"ctags"|"${LOCALBASE}/bin/exctags"|' \
-e 's|"ctags.pl"|"${PREFIX}/bin/ctags.pl"|' ${WRKSRC}/Hypersrc.pl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/out/hypersrc ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/Hypersrc.pl ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/ctags.pl ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hypersrc.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
|