Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 16:46:10 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r300955 - head/cad/fidocadj
Message-ID:  <201207161646.q6GGkA6d060205@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Mon Jul 16 16:46:10 2012
New Revision: 300955
URL: http://svn.freebsd.org/changeset/ports/300955

Log:
  - Update to 0.24
  - Set a different MASTER_SITE_SUBDIR for source and docs
  - Convert to the new options framework

Modified:
  head/cad/fidocadj/Makefile   (contents, props changed)
  head/cad/fidocadj/distinfo   (contents, props changed)

Modified: head/cad/fidocadj/Makefile
==============================================================================
--- head/cad/fidocadj/Makefile	Mon Jul 16 16:06:57 2012	(r300954)
+++ head/cad/fidocadj/Makefile	Mon Jul 16 16:46:10 2012	(r300955)
@@ -6,15 +6,12 @@
 #
 
 PORTNAME=	fidocadj
-PORTVERSION=	0.23.7
+PORTVERSION=	0.24
 #PORTREVISION=	0
 CATEGORIES=	cad
-MASTER_SITES=	SF
-MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTFILES=	${PORTNAME}.jar
-.if !defined(NOPORTDOCS)
-DISTFILES+=	${PORTNAME}_manual_en.pdf
-.endif
+MASTER_SITES=	SF:src,docs
+MASTER_SITE_SUBDIR=	${PORTNAME}/:src ${PORTNAME}/manuals/:docs
+DISTFILES=	${PORTNAME}.jar:src
 EXTRACT_ONLY=
 
 MAINTAINER=	nivit@FreeBSD.org
@@ -31,15 +28,25 @@ SUB_FILES=	${PORTNAME}.sh
 JAVA_VERSION=	1.5+
 USE_JAVA=	yes
 
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 FDCJ_MANUAL=	${PORTNAME}_manual_en.pdf
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
 	${MKDIR} ${DATADIR}; \
 	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}.jar ${DATADIR}/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR} && \
 	${INSTALL_DATA} ${DISTDIR}/${FDCJ_MANUAL} ${DOCSDIR}/
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+DISTFILES+=	${PORTNAME}_manual_en.pdf:docs
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/cad/fidocadj/distinfo
==============================================================================
--- head/cad/fidocadj/distinfo	Mon Jul 16 16:06:57 2012	(r300954)
+++ head/cad/fidocadj/distinfo	Mon Jul 16 16:46:10 2012	(r300955)
@@ -1,4 +1,4 @@
-SHA256 (fidocadj.jar) = 94e6e6c67913c8312d00a2bc7b37715db6f3934aff2ded888a30426b25af892c
-SIZE (fidocadj.jar) = 419310
-SHA256 (fidocadj_manual_en.pdf) = 5020e01a6d37b35647917785901b58d4229be2fdb65784766de2b28ca8ad6132
-SIZE (fidocadj_manual_en.pdf) = 2435667
+SHA256 (fidocadj.jar) = 422ef03693dda6264e20be4f7678bf3fe30a93afd7fe34714542b8507f199bf5
+SIZE (fidocadj.jar) = 443351
+SHA256 (fidocadj_manual_en.pdf) = 0b54911d02710cc31e8905decbdb83ca0b28fc55ab5777664512cfbe80300d49
+SIZE (fidocadj_manual_en.pdf) = 2155837



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207161646.q6GGkA6d060205>