ports/50379: Update port: textproc/resume (add pkg-message)

Kimura Fuyuki fuyuki at hadaly.org
Fri Mar 28 03:20:14 UTC 2003


>Number:         50379
>Category:       ports
>Synopsis:       Update port: textproc/resume (add pkg-message)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 19:20:10 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki <fuyuki at hadaly.org>
>Release:        FreeBSD 5.0-RELEASE-p5 i386
>Organization:
>Environment:

  FreeBSD hadaly.dyndns.org 5.0-RELEASE-p5 FreeBSD 5.0-RELEASE-p5 #1: Fri Mar 21 10:29:48 JST 2003     root at hadaly.dyndns.org:/.2/obj/usr/src/sys/NS  i386

>Description:
- Add pkg-message to salvage the lambs drowning in the Java ocean
- Drop maintainership

>How-To-Repeat:

>Fix:
diff -ruN --exclude=CVS resume.orig/Makefile resume/Makefile
--- resume.orig/Makefile	Fri Mar 28 12:10:03 2003
+++ resume/Makefile	Fri Mar 28 12:09:47 2003
@@ -13,13 +13,13 @@
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/./_/g}
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	fuyuki at hadaly.org
+MAINTAINER=	ports at FreeBSD.org
 COMMENT=	XML Resume library
 
-NO_BUILD=	yes
 USE_REINPLACE=	yes
-
-JAVALIBDIR=	${PREFIX}/share/java/classes
+NO_BUILD=	yes
+JAVAJARDIR=	${PREFIX}/share/java/classes
+PKGMESSAGE=	${WRKDIR}/pkg-message
 
 post-patch:
 	${REINPLACE_CMD} -e 's|\.\./\.\./css|css|' ${WRKSRC}/xsl/params.xsl
@@ -31,8 +31,7 @@
 	${MKDIR} ${PREFIX}/share/xsl/${PORTNAME}
 	${CP} -R ${WRKSRC}/xsl/* ${PREFIX}/share/xsl/${PORTNAME}
 	${CP} -R ${WRKSRC}/css ${PREFIX}/share/xsl/${PORTNAME}/format
-	${MKDIR} ${JAVALIBDIR}
-	${INSTALL_DATA} ${WRKSRC}/java/*.jar ${JAVALIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/java/*.jar ${JAVAJARDIR}
 
 post-install:
 	${MKDIR} ${EXAMPLESDIR}
@@ -41,5 +40,7 @@
 	${MKDIR} ${DOCSDIR}
 	${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
 .endif
+	${SED} -e "s|%%PREFIX%%|${PREFIX}|g" pkg-message >${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS resume.orig/pkg-descr resume/pkg-descr
--- resume.orig/pkg-descr	Fri Mar 28 12:10:03 2003
+++ resume/pkg-descr	Fri Mar 28 12:05:26 2003
@@ -3,6 +3,3 @@
 exchange, and presentation of resumes.
 
 WWW: http://xmlresume.sourceforge.net/
-
-- Kimura Fuyuki
-fuyuki at hadaly.org
diff -ruN --exclude=CVS resume.orig/pkg-message resume/pkg-message
--- resume.orig/pkg-message	Thu Jan  1 09:00:00 1970
+++ resume/pkg-message	Fri Mar 28 12:04:35 2003
@@ -0,0 +1,12 @@
+************************************************************************
+
+For the impatient: You can get a result just in two steps!
+
+1. Install textproc/libxslt.
+
+2. Run the command below.
+
+    $ xsltproc %%PREFIX%%/share/xsl/resume/output/us-html.xsl \
+               %%PREFIX%%/share/examples/resume/example1.xml
+
+************************************************************************
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list