Bug 189790 - [patch][maintainer update] misc/pauker port update
Summary: [patch][maintainer update] misc/pauker port update
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: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 05:00 UTC by alex
Modified: 2014-05-16 22:10 UTC (History)
0 users

See Also:


Attachments
pauker.diff (2.62 KB, patch)
2014-05-14 05:00 UTC, alex
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alex 2014-05-14 05:00:00 UTC
	Update Pauker to use staging directory. Also, update to 1.8 version and cleanup Makefile, etc.

How-To-Repeat: 	Apply patch to upgrade misc/pauker port.
Comment 1 dfilter service freebsd_committer 2014-05-16 22:06:04 UTC
Author: cs
Date: Fri May 16 21:05:58 2014
New Revision: 354262
URL: http://svnweb.freebsd.org/changeset/ports/354262
QAT: https://qat.redports.org/buildarchive/r354262/

Log:
  - Update to 1.8
  - Support staging
  
  PR:		ports/189790
  Submitted by:	Alex Stangl <alex@stangl.us> (maintainer)

Added:
  head/misc/pauker/pkg-plist   (contents, props changed)
Deleted:
  head/misc/pauker/files/
Modified:
  head/misc/pauker/Makefile
  head/misc/pauker/distinfo
  head/misc/pauker/pkg-descr

Modified: head/misc/pauker/Makefile
==============================================================================
--- head/misc/pauker/Makefile	Fri May 16 20:55:40 2014	(r354261)
+++ head/misc/pauker/Makefile	Fri May 16 21:05:58 2014	(r354262)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	pauker
-DISTVERSION=	1.8RC2
-PORTREVISION=	1
+DISTVERSION=	1.8
 CATEGORIES=	misc java
-MASTER_SITES=	SF/${PORTNAME}/OldFiles
+MASTER_SITES=	SF
 EXTRACT_SUFX=	.jar
 EXTRACT_ONLY=
 
@@ -16,16 +15,9 @@ USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
 
-PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar bin/${PORTNAME}
-
-NO_STAGE=	yes
 do-install:
-	@${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${JAVAJARDIR}/${PORTNAME}.jar
-	@${SED} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \
-	    -e "s:%%JAVAJARDIR%%:${JAVAJARDIR}:" \
-	    -e "s:%%PORTNAME%%:${PORTNAME}:" \
-	    ${FILESDIR}/pauker.sh > ${PREFIX}/bin/${PORTNAME}
-	@${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/bin/${PORTNAME}
-	@${CHMOD} a+rx ${PREFIX}/bin/${PORTNAME}
+	@${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/pauker.jar
+	@${PRINTF} "#!/bin/sh\nexec \"${JAVA}\" -jar \"${JAVAJARDIR}/pauker.jar\" \"\$$@\"\n" > ${WRKDIR}/pauker
+	@${INSTALL_SCRIPT} ${WRKDIR}/pauker ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/misc/pauker/distinfo
==============================================================================
--- head/misc/pauker/distinfo	Fri May 16 20:55:40 2014	(r354261)
+++ head/misc/pauker/distinfo	Fri May 16 21:05:58 2014	(r354262)
@@ -1,2 +1,2 @@
-SHA256 (pauker-1.8RC2.jar) = a32adb3e70ffff5bd9531bc778d8c69fc2282b755c6698f9684283e8293abbd7
-SIZE (pauker-1.8RC2.jar) = 3421961
+SHA256 (pauker-1.8.jar) = cbc675bcbae0fc0a30d1a28d929409b5f8fd4b629b9df0c8c61760fb75380a6b
+SIZE (pauker-1.8.jar) = 7663902

Modified: head/misc/pauker/pkg-descr
==============================================================================
--- head/misc/pauker/pkg-descr	Fri May 16 20:55:40 2014	(r354261)
+++ head/misc/pauker/pkg-descr	Fri May 16 21:05:58 2014	(r354262)
@@ -1,3 +1,3 @@
 Pauker is a Java program for flashcard learning based on the Leitner system.
 
-WWW:	http://pauker.sourceforge.net
+WWW: http://pauker.sourceforge.net

Added: head/misc/pauker/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/pauker/pkg-plist	Fri May 16 21:05:58 2014	(r354262)
@@ -0,0 +1,2 @@
+%%JAVAJARDIR%%/pauker.jar
+bin/pauker
_______________________________________________
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 2 Carlo Strub freebsd_committer 2014-05-16 22:06:12 UTC
State Changed
From-To: open->closed

Committed. Thank you very much. 


Comment 3 Carlo Strub freebsd_committer 2014-05-16 22:06:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cs

Committed. Thank you very much.