From 8e2c20ab7cb97bbbcce9c6bffe41abd651a462c0 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 5 Jul 2003 03:46:38 +0000 Subject: Build the plist during pre-install in preparation for upcoming bsd.port.mk changes. --- www/axis/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www/axis/Makefile') diff --git a/www/axis/Makefile b/www/axis/Makefile index 72f76afa0d5c..8734e8d0d601 100644 --- a/www/axis/Makefile +++ b/www/axis/Makefile @@ -53,6 +53,9 @@ JAR_INSTALL_DEST_DIR= ${JAVA_HOME}/jre/lib/ext # SYSTEM_JARS= jaxrpc.jar saaj.jar +pre-install: + @${SED} -e 's@PREFIX@${PREFIX}@g' -e s'@WEBAPPS@${WEBAPPDIR}@g' -e 's@JDK_HOME@${JAVA_HOME}/jre@g' < pkg-plist > ${PLIST} + do-install: .if !exists(${JAR_INSTALL_DEST_DIR}) ${MKDIR} ${JAR_INSTALL_DEST_DIR} @@ -67,6 +70,5 @@ do-install: ${MKDIR} ${PREFIX}/share/doc/axis .endif (cd ${WRKSRC}/docs ; tar cf - *) | (cd ${PREFIX}/share/doc/axis ; tar xvf -) - ${SED} -e 's@PREFIX@${PREFIX}@g' -e s'@WEBAPPS@${WEBAPPDIR}@g' -e 's@JDK_HOME@${JAVA_HOME}/jre@g' < pkg-plist > ${WRKDIR}/pkg-plist .include -- cgit v1.2.3