Bug 77583 - [MAINTAINER] update java/java-tutorial to jdk-tutorial-2004.03.11_1
Summary: [MAINTAINER] update java/java-tutorial to jdk-tutorial-2004.03.11_1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Herve Quiroz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-16 01:10 UTC by Michael C.Shultz
Modified: 2005-02-17 19:26 UTC (History)
1 user (show)

See Also:


Attachments
java-tutorial_1.diff (413.97 KB, patch)
2005-02-16 01:10 UTC, Michael C.Shultz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael C.Shultz 2005-02-16 01:10:18 UTC
update java/java-tutorial to jdk-tutorial-2004.03.11_1

1) Changed my email address from Verizon to gmail so Europeans may
contact me.

2) Fixed 3416 portlint -a warnings. Now there is just one complaining
about the hyphen in the "jdk-tutorial" name.

How-To-Repeat: 
1) be in Europe and try to send email to reso3w83@verizon.net

2) run portlint -a in /usr/ports/java/java-tutorial
Comment 1 Herve Quiroz freebsd_committer freebsd_triage 2005-02-16 06:52:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hq

I'll handle this.
Comment 2 Hervé Quiroz 2005-02-16 15:56:49 UTC
pkg-plist is still 146KB long... so here is a patch to get rid of it
definitively.

I also removed the PLIST_SUB+="T=..." as it's no longer needed.

Last change worth mentioning: ECHO -> ECHO_MSG

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/java/java-tutorial/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile	15 Feb 2005 17:19:23 -0000	1.32
+++ Makefile	16 Feb 2005 15:49:28 -0000
@@ -9,30 +9,30 @@
 
 PORTNAME=	jdk-tutorial
 PORTVERSION=	2004.03.11
+PORTREVISION=	1
 CATEGORIES=	java
 MASTER_SITES=	http://java.sun.com/docs/books/tutorial/download/
 DISTNAME=	tutorial
 
-MAINTAINER=	reso3w83@verizon.net
+MAINTAINER=	ringworm01@gmail.com
 COMMENT=	Official Java 2 SDK tutorial
 
 NO_WRKSUBDIR=	yes
 RESTRICTED=	"This software is under license and export control."
 NO_BUILD=	yes
 USE_ZIP=	yes
-TARGET_DIR=	${PREFIX}/share/doc/java-tutorial/
-PLIST_SUB+=	T=${TARGET_DIR:S/^${PREFIX}\///}
+PORTDOCS=	*
 
 .include <bsd.port.pre.mk>
 
 do-install:
-	@${ECHO} -n ">> Creating directory ${TARGET_DIR}..."
-	@${MKDIR} ${TARGET_DIR}
-	@${ECHO} " [ DONE ]"
+	@${ECHO_MSG} -n ">> Creating directory ${DOCSDIR}..."
+	@${MKDIR} ${DOCSDIR}
+	@${ECHO_MSG} " [ DONE ]"
 
-	@${ECHO} -n ">> Copying files..."
-	@${CP} -R ${WRKSRC}/* ${TARGET_DIR}
-	@${CHOWN} -h -R ${DOCOWN}:${DOCGRP} ${TARGET_DIR}
-	@${ECHO} " [ DONE ]"
+	@${ECHO_MSG} -n ">> Copying files..."
+	@${CP} -R ${WRKSRC}/* ${DOCSDIR}
+	@${CHOWN} -h -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
+	@${ECHO_MSG} " [ DONE ]"
 
 .include <bsd.port.post.mk>
Comment 3 Michael C.Shultz 2005-02-17 18:14:22 UTC
Is this what gets rid of the entire pkg-plist?   -=>    +PORTDOCS=      
*

-Mike
Comment 4 Herve Quiroz freebsd_committer freebsd_triage 2005-02-17 19:25:36 UTC
State Changed
From-To: open->closed

Commited. 

Thanks for your contribution.