View | Details | Raw Unified | Return to bug 137267
Collapse All | Expand All

(-)javaservicewrapper/Makefile 2009-07-30 11:01:36.000000000 -0400 (-8 / +15 lines)
Lines 7-39 Link Here
7
7
8
PORTNAME=      javaservicewrapper
8
PORTNAME=      javaservicewrapper
9
PORTVERSION=   3.3.5
9
PORTVERSION=   3.3.5
10
PORTREVISION=  1
10
CATEGORIES=    sysutils java
11
CATEGORIES=    sysutils java
11
MASTER_SITES=  http://wrapper.tanukisoftware.org/download/${PORTVERSION}/
12
MASTER_SITES=  http://wrapper.tanukisoftware.org/download/${PORTVERSION}/
12
DISTNAME=      wrapper_${PORTVERSION}_src
13
DISTNAME=      wrapper_${PORTVERSION}_src
13
14
14
MAINTAINER=    alepulver@FreeBSD.org
15
MAINTAINER=    mikej@rogers.com
15
COMMENT=       Application to solve problems common to many Java applications
16
COMMENT=       Application to solve problems common to many Java applications
16
17
17
USE_GMAKE=     yes
18
USE_JAVA=      1.3+
18
USE_JAVA=      1.3+
19
USE_ANT=       yes
19
USE_ANT=       yes
20
20
21
DATADIR=       ${PREFIX}/lib/${PORTNAME}
21
DATADIR=       ${PREFIX}/lib/${PORTNAME}
22
22
23
ONLY_FOR_ARCHS=        i386 amd64
24
25
.include <bsd.port.pre.mk>
26
27
.if (${ARCH} == amd64)
28
MAKE_ARGS+=-Dbits=64
29
.else
30
MAKE_ARGS+=-Dbits=32
31
.endif
32
23
post-patch:
33
post-patch:
24
       @${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS} -fPIC|' \
34
       @${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS} -fPIC|' \
25
               ${WRKSRC}/src/c/Makefile-freebsd-x86-32.gmake
35
               ${WRKSRC}/src/c/Makefile-freebsd-x86-32.gmake ${WRKSRC}/src/c/Makefile-freebsd-x86-64.gmake
26
27
do-build:
28
       @cd ${WRKSRC} && ${SETENV} ANT_HOME="${LOCALBASE}" ${SH} build32.sh
29
36
30
do-install:
37
do-install:
31
       ${MKDIR} ${DATADIR}
38
       ${MKDIR} ${DATADIR}
32
       cd ${WRKSRC} && ${CP} -rp bin conf lib test ${DATADIR}
39
       cd ${WRKSRC} && ${CP} -rp bin conf lib test ${DATADIR} && ${STRIP_CMD} ${DATADIR}/bin/wrapper
33
       ${LN} -sf ${DATADIR}/bin/wrapper ${PREFIX}/bin/${PORTNAME}
40
       ${LN} -sf ${DATADIR}/bin/wrapper ${PREFIX}/bin/${PORTNAME}
34
.if !defined(NOPORTDOCS)
41
.if !defined(NOPORTDOCS)
35
       ${MKDIR} ${DOCSDIR}
42
       ${MKDIR} ${DOCSDIR}
36
       ${CP} -r ${WRKSRC}/doc/* ${DOCSDIR}
43
       ${CP} -r ${WRKSRC}/doc/* ${DOCSDIR}
37
.endif
44
.endif
38
45
39
.include <bsd.port.mk>
46
.include <bsd.port.post.mk>
(-)javaservicewrapper/files/patch-build.xml 1969-12-31 19:00:00.000000000 -0500 (-10 lines)
Lines 1-10 Link Here
1
--- ./build.xml.orig   Tue Oct 17 11:21:20 2006
2
+++ ./build.xml        Thu Sep 27 19:07:48 2007
3
@@ -304,7 +304,6 @@
4
         <echo message="**********************************************************************"/>
5
         <echo message="A ${bits}-bit build was requested, but this is a ${sun.arch.data.model}-bit JVM."/>
6
         <echo message="**********************************************************************"/>
7
-        <fail message="The &quot;bits&quot; system property does not match that of the JVM."/>
8
     </target>
9
     
10
     <!-- =================================================================== -->

Return to bug 137267