Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 16:27:36 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343277 - head/www/mod_jk
Message-ID:  <201402071627.s17GRaZ0002452@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Feb  7 16:27:36 2014
New Revision: 343277
URL: http://svnweb.freebsd.org/changeset/ports/343277
QAT: https://qat.redports.org/buildarchive/r343277/

Log:
  - Support stage
  - Cleanup
  
  maintainer timeout (2 weeks)
  
  PR:		ports/186052
  Submitted by:	brd
  Sponsored by:	Absolight

Modified:
  head/www/mod_jk/Makefile

Modified: head/www/mod_jk/Makefile
==============================================================================
--- head/www/mod_jk/Makefile	Fri Feb  7 16:26:42 2014	(r343276)
+++ head/www/mod_jk/Makefile	Fri Feb  7 16:27:36 2014	(r343277)
@@ -13,28 +13,22 @@ DISTNAME=	tomcat-connectors-${PORTVERSIO
 MAINTAINER?=	girgen@FreeBSD.org
 COMMENT?=	Apache JK module for connecting to Tomcat using AJP1X
 
-
+USES=	gmake
 USE_APACHE?=	22+
 APACHE_VER=	2.0
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-WRKSRC=		${WRKDIR}/tomcat-connectors-${PORTVERSION}-src/native
-
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
+
 CONFIGURE_ARGS+=	--with-apxs=${APXS}
+WRKSRC=		${WRKDIR}/tomcat-connectors-${PORTVERSION}-src/native
 
-SUB_FILES+=	mod_jk.conf.sample pkg-message
+SUB_FILES=	mod_jk.conf.sample pkg-message
 
 do-install:
-	${APXS} -i -n jk ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
-	- ${APXS} -e -A -n jk ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
-	${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${LOCALBASE}/${APACHEETCDIR}
-	${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${LOCALBASE}/${APACHEETCDIR}
-
-post-install:
-	${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+	${APXS} -i -n jk -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${WRKSRC}/apache-${APACHE_VER}/mod_jk.so
+	${MKDIR} ${STAGEDIR}${LOCALBASE}/${APACHEETCDIR}
+	${INSTALL_DATA} ${WRKDIR}/mod_jk.conf.sample ${STAGEDIR}${LOCALBASE}/${APACHEETCDIR}
+	${INSTALL_DATA} ${FILESDIR}/workers.properties.sample ${STAGEDIR}${LOCALBASE}/${APACHEETCDIR}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_jk.so
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402071627.s17GRaZ0002452>