aboutsummaryrefslogtreecommitdiffstats
path: root/java/javel/Makefile
blob: 4ccf3fb13ca036f92927aecbb156bc274e18e498 (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
39
# ex:ts=8
# Ports collection makefile for:    javel
# Date created:         Jan 30, 2002
# Whom:                 ijliao
#
# $FreeBSD$
#

PORTNAME=   javel
PORTVERSION=    0.3.2
CATEGORIES= java
MASTER_SITES=   http://www.geocities.com/l.gregoire/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= znerd@FreeBSD.org
COMMENT=    Java disassembler

NO_WRKSUBDIR=   yes
USE_REINPLACE=  yes
MAKEFILE=   makefile

MAN1=       javel.1
PLIST_FILES=    bin/javel

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500035
BROKEN=     "Does not compile on 5.0"
.endif

post-patch:
    @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
        s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" ${WRKSRC}/${MAKEFILE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/javel ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/javel.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>