Lines 3-13
Link Here
|
3 |
# Date created: Jun 12, 2001 |
3 |
# Date created: Jun 12, 2001 |
4 |
# Whom: ijliao |
4 |
# Whom: ijliao |
5 |
# |
5 |
# |
6 |
# $FreeBSD: ports/editors/hte/Makefile,v 1.30 2007/03/03 18:29:48 kris Exp $ |
6 |
# $FreeBSD: ports/editors/hte/Makefile,v 1.28 2006/09/15 03:46:04 rafan Exp $ |
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= hte |
9 |
PORTNAME= hte |
10 |
PORTVERSION= 0.9.4 |
10 |
PORTVERSION= 2.0 |
11 |
CATEGORIES= editors |
11 |
CATEGORIES= editors |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 16-21
Link Here
|
16 |
MAINTAINER= mva@sysfault.org |
16 |
MAINTAINER= mva@sysfault.org |
17 |
COMMENT= A file editor/viewer/analyzer for executables |
17 |
COMMENT= A file editor/viewer/analyzer for executables |
18 |
|
18 |
|
|
|
19 |
USE_GCC= 4.1+ |
19 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
20 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
22 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
Lines 24-44
Link Here
|
24 |
|
25 |
|
25 |
.include <bsd.port.pre.mk> |
26 |
.include <bsd.port.pre.mk> |
26 |
|
27 |
|
27 |
.if ${ARCH} == "ia64" |
|
|
28 |
BROKEN= does not build on ia64 |
29 |
.endif |
30 |
|
31 |
.if ${OSVERSION} < 400000 |
32 |
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses |
33 |
.endif |
34 |
|
35 |
.if defined(WITHOUT_X11) |
28 |
.if defined(WITHOUT_X11) |
36 |
PKGNAMESUFFIX= -nox11 |
29 |
PKGNAMESUFFIX= -nox11 |
37 |
CONFIGURE_ARGS=--disable-x11-textmode |
30 |
CONFIGURE_ARGS=--disable-x11-textmode |
38 |
.else |
31 |
.else |
39 |
USE_XLIB= yes |
32 |
USE_XLIB= yes |
40 |
CPPFLAGS= -I${X11BASE}/include |
33 |
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LDFLAGS="-L${X11BASE}/lib" |
41 |
LDFLAGS= -L${X11BASE}/lib |
|
|
42 |
.endif |
34 |
.endif |
43 |
|
35 |
|
44 |
.if !defined(NOPORTDOCS) |
36 |
.if !defined(NOPORTDOCS) |
Lines 52-59
Link Here
|
52 |
${WRKSRC}/configure |
44 |
${WRKSRC}/configure |
53 |
@${REINPLACE_CMD} -e \ |
45 |
@${REINPLACE_CMD} -e \ |
54 |
's|typedef unsigned int uint;||g' ${WRKSRC}/global.h |
46 |
's|typedef unsigned int uint;||g' ${WRKSRC}/global.h |
55 |
@${REINPLACE_CMD} -e \ |
|
|
56 |
's|uint |UINT |g' ${WRKSRC}/htdata.h |
57 |
|
47 |
|
58 |
do-install: |
48 |
do-install: |
59 |
${INSTALL_PROGRAM} ${WRKSRC}/ht ${PREFIX}/bin |
49 |
${INSTALL_PROGRAM} ${WRKSRC}/ht ${PREFIX}/bin |