Bug 186052

Summary: [patch] www/mod_jk: Stagify
Product: Ports & Packages Reporter: Brad Davis <brd>
Component: Individual Port(s)Assignee: Palle Girgensohn <girgen>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
stagify-mod_jk.patch none

Description Brad Davis freebsd_committer freebsd_triage 2014-01-23 21:30:00 UTC
	Adds stage support
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-23 21:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->girgen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Brad Davis freebsd_committer freebsd_triage 2014-01-23 21:39:28 UTC
I forgot to mention that this passes redports.


Regards,
Brad Davis
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-02-07 16:27:43 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2014-02-07 16:29:16 UTC
State Changed
From-To: open->closed

Committed, thanks!