View | Details | Raw Unified | Return to bug 79707 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-12 / +8 lines)
Lines 13-20 Link Here
13
MAINTAINER=		jb.quenot@caraldi.com
13
MAINTAINER=		jb.quenot@caraldi.com
14
COMMENT=		Resin, a Java-based Application Server, 2.x branch
14
COMMENT=		Resin, a Java-based Application Server, 2.x branch
15
15
16
BROKEN=			Does not build
17
18
USE_JAVA=		yes
16
USE_JAVA=		yes
19
JAVA_VERSION=		1.2+
17
JAVA_VERSION=		1.2+
20
HAS_CONFIGURE=		yes
18
HAS_CONFIGURE=		yes
Lines 110-121 Link Here
110
			-e "s|%%WRKSRC%%|${WRKSRC}|g"
108
			-e "s|%%WRKSRC%%|${WRKSRC}|g"
111
109
112
post-patch:
110
post-patch:
113
.for FILE in ${REINPLACE_FILES}
111
	@${REINPLACE_CMD} ${SUBSTITUTIONS} ${REINPLACE_FILES}
114
	@${REINPLACE_CMD} ${SUBSTITUTIONS} ${FILE}
112
	@for FILE in ${REPLACE_FILES} ; do \
115
.endfor
113
	    ${SED} ${SUBSTITUTIONS} $${FILE} > ${WRKDIR}/`basename $${FILE}` ; \
116
.for FILE in ${REPLACE_FILES}
114
	    done
117
	@${SED} ${SUBSTITUTIONS} ${FILE} > ${WRKDIR}/`basename ${FILE}`
118
.endfor
119
	@${FMT} -w 80 < ${WRKDIR}/pkg-message.in > ${PKGMESSAGE}
115
	@${FMT} -w 80 < ${WRKDIR}/pkg-message.in > ${PKGMESSAGE}
120
.if (defined(WITH_APACHE2) && (${WITH_APACHE2} == yes || ${WITH_APACHE2} == YES) || \
116
.if (defined(WITH_APACHE2) && (${WITH_APACHE2} == yes || ${WITH_APACHE2} == YES) || \
121
defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES))
117
defined(WITH_APACHE) && (${WITH_APACHE} == yes || ${WITH_APACHE} == YES))
Lines 134-143 Link Here
134
post-install:
130
post-install:
135
	@${SETENV} RUNASUSER=${RUNASUSER} GROUP=${GROUP} ${SH} ${WRKDIR}/install.sh
131
	@${SETENV} RUNASUSER=${RUNASUSER} GROUP=${GROUP} ${SH} ${WRKDIR}/install.sh
136
	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
132
	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
137
	@${ECHO_CMD}
133
	@${ECHO_MSG}
138
	@${ECHO_CMD} "********************************************************************************"
134
	@${ECHO_MSG} "********************************************************************************"
139
	@${CAT} ${PKGMESSAGE}
135
	@${CAT} ${PKGMESSAGE}
140
	@${ECHO_CMD} "********************************************************************************"
136
	@${ECHO_MSG} "********************************************************************************"
141
	@${ECHO_CMD}
137
	@${ECHO_MSG}
142
138
143
.include <bsd.port.post.mk>
139
.include <bsd.port.post.mk>

Return to bug 79707