Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 10:17:26 GMT
From:      Eero Hänninen <fax@nohik.ee>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186475: [PATCH] cad/varkon stage support
Message-ID:  <201402051017.s15AHQXS011177@oldred.freebsd.org>
Resent-Message-ID: <201402051020.s15AK04g050019@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186475
>Category:       ports
>Synopsis:       [PATCH] cad/varkon stage support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 05 10:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Eero Hänninen
>Release:        10.0-RELEASE
>Organization:
>Environment:
FreeBSD sneezy 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
- stage support
- added LICENSE
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN varkon.orig/Makefile varkon/Makefile
--- varkon.orig/Makefile	2014-01-03 17:53:42.000000000 +0200
+++ varkon/Makefile	2014-02-05 12:12:41.000000000 +0200
@@ -11,6 +11,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Free CAD system and applications development tool
 
+LICENSE=	LGPL20
+
 LIB_DEPENDS=	libtiff.so:${PORTSDIR}/graphics/tiff
 RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
 
@@ -26,8 +28,6 @@
 
 VARKON_PREFIX=	${PREFIX}/lib/${PORTNAME}
 
-NO_STAGE=	yes
-
 .include <bsd.port.options.mk>
 
 post-extract:
@@ -47,23 +47,23 @@
 		 s|cc $$(LIBS)|$$(CC) $$(LIBS)|'
 
 do-install:
-	(cd ${WRKSRC}/com/english && ${INSTALL_SCRIPT} varkon ${PREFIX}/bin)
-	@${MKDIR} ${VARKON_PREFIX}
+	(cd ${WRKSRC}/com/english && ${INSTALL_SCRIPT} varkon ${STAGEDIR}${PREFIX}/bin)
+	@${MKDIR} ${STAGEDIR}${VARKON_PREFIX}
 .for i in erm lib mdf
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${VARKON_PREFIX})
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${VARKON_PREFIX})
 .endfor
-	@${MKDIR} ${VARKON_PREFIX}/bin
-	(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} * ${VARKON_PREFIX}/bin)
-	@${MKDIR} ${VARKON_PREFIX}/cnf
+	@${MKDIR} ${STAGEDIR}${VARKON_PREFIX}/bin
+	(cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} * ${STAGEDIR}${VARKON_PREFIX}/bin)
+	@${MKDIR} ${STAGEDIR}${VARKON_PREFIX}/cnf
 .for i in fnt icons plt tol
-	@(cd ${WRKSRC}/cnf && ${COPYTREE_SHARE} ${i} ${VARKON_PREFIX}/cnf)
+	@(cd ${WRKSRC}/cnf && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${VARKON_PREFIX}/cnf)
 .endfor
-	@${MKDIR} ${VARKON_PREFIX}/cnf/ini
+	@${MKDIR} ${STAGEDIR}${VARKON_PREFIX}/cnf/ini
 	(cd ${WRKSRC}/cnf/ini/english && ${INSTALL_DATA} linux \
-		${VARKON_PREFIX}/cnf/ini/freebsd)
+		${STAGEDIR}${VARKON_PREFIX}/cnf/ini/freebsd)
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}	#Varkon Manual
-	@(cd ${WRKSRC}/man && ${COPYTREE_SHARE} . ${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}	#Varkon Manual
+	@(cd ${WRKSRC}/man && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



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