Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 02:24:12 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172018: graphics/lcms-python: Update MASTER_SITES
Message-ID:  <20120926022412.9727a6d49eb38e035f5a45df@yahoo.com>
Resent-Message-ID: <201209251810.q8PIATWB021430@freefall.freebsd.org>

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

>Number:         172018
>Category:       ports
>Synopsis:       graphics/lcms-python: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 25 18:10:29 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Add LICENSE
- Support BUILD_WRKSRC/INSTALL_WRKSRC

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/lcms-python/Makefile graphics/lcms-python/Makefile
--- /usr/ports/graphics/lcms-python/Makefile	2011-10-24 12:33:06.000000000 +0900
+++ graphics/lcms-python/Makefile	2012-09-25 03:34:50.000000000 +0900
@@ -1,39 +1,36 @@
-# New ports collection makefile for:	lcms-python
-# Date created:		13/10/2009
-# Whom:			stas
-#
+# Created by: stas
 # $FreeBSD: ports/graphics/lcms-python/Makefile,v 1.5 2011/10/24 03:33:06 stas Exp $
-#
 
 PORTNAME=	lcms
 PORTVERSION=	1.19
 CATEGORIES=	graphics devel python
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/1.19 \
-		http://www.littlecms.com/
+MASTER_SITES=	SF
 PKGNAMESUFFIX=	-python
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Light Color Management System (python bindings)
 
+LICENSE=	MIT
+
 LIB_DEPENDS+=	lcms.1:${PORTSDIR}/graphics/lcms
 
+BUILD_WRKSRC=	${WRKSRC}/python
+INSTALL_WRKSRC=	${WRKSRC}/python
+
 USE_PYTHON=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-python
-LDFLAGS+=	-L${LOCALBASE}/lib
-WRKSRC=		${WRKDIR}/lcms-1.19
-PLIST_FILES=	${PYTHON_SITELIBDIR:C,${PREFIX}/?,,}/_lcms.so \
-		${PYTHON_SITELIBDIR:C,${PREFIX}/?,,}/lcms.py
 
-.include <bsd.port.pre.mk>
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
-do-build:
-	cd ${WRKSRC}/python && ${SETENV} ${MAKE_ENV} ${MAKE} all
+PLIST_FILES=	%%PYTHON_SITELIBDIR%%/_lcms.so \
+		%%PYTHON_SITELIBDIR%%/lcms.py
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/python/.libs/_lcms.so \
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/.libs/_lcms.so \
 		${PYTHON_SITELIBDIR}/_lcms.so
-	${INSTALL_DATA} ${WRKSRC}/python/lcms.py \
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/lcms.py \
 		${PYTHON_SITELIBDIR}/lcms.py
 
-.include <bsd.port.post.mk>
+.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?20120926022412.9727a6d49eb38e035f5a45df>