Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 02:32:21 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174170: graphics/bmeps: Update to version 2.2.26
Message-ID:  <20121206023221.98a29d4058d839ed83fd2d8f@yahoo.com>
Resent-Message-ID: <201212051810.qB5IA4VR033467@freefall.freebsd.org>

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

>Number:         174170
>Category:       ports
>Synopsis:       graphics/bmeps: Update to version 2.2.26
>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:   Wed Dec 05 18:10:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update to version 2.2.26

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/bmeps/Makefile graphics/bmeps/Makefile
--- /usr/ports/graphics/bmeps/Makefile	2012-12-05 05:57:23.000000000 +0900
+++ graphics/bmeps/Makefile	2012-12-05 21:48:01.000000000 +0900
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	bmeps
-# Date created:				6 Jan 2004
-# Whom:					Hideyuki KURASHINA <rushani@FreeBSD.org>
-#
+# Created by: Hideyuki KURASHINA <rushani@FreeBSD.org>
 # $FreeBSD: head/graphics/bmeps/Makefile 308272 2012-12-04 20:39:22Z zi $
-#
 
 PORTNAME=	bmeps
-PORTVERSION=	2.2.24
+PORTVERSION=	2.2.26
 CATEGORIES=	graphics perl5
 MASTER_SITES=	SF/dktools/dktools/dktools-${PORTVERSION}
 DISTNAME=	dktools-${PORTVERSION}
@@ -18,32 +14,46 @@
 LICENSE_FILE=	${WRKSRC}/bsdlic.txt
 
 LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
-		netpbm:${PORTSDIR}/graphics/netpbm \
-		png15:${PORTSDIR}/graphics/png
+		png15:${PORTSDIR}/graphics/png \
+		tiff:${PORTSDIR}/graphics/tiff
 
 USE_ZIP=	yes
 USE_PERL5=	yes
 GNU_CONFIGURE=	yes
-
-MAKE_ARGS=	bmeps
-MAKE_JOBS_UNSAFE=yes
-
-CFLAGS+=	-I${PREFIX}/include
-LDFLAGS+=	-L${PREFIX}/lib
-
+CONFIGURE_ENV=	ac_cv_header_sys_termios_h=no
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/dktools\
-		--with-lzw\
 		--libdir=${PREFIX}/lib\
-		--includedir=${PREFIX}/include
+		--includedir=${PREFIX}/include\
+		--without-perl\
+		--with-lzw
+ALL_TARGET=	stc ${PORTNAME}
+MAKE_JOBS_SAFE=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN1=		bmeps.1
+PLIST_FILES=	bin/bmeps \
+		%%DATADIR%%/bmeps.str \
+		%%DATADIR%%/bmeps.stt.bz2 \
+		%%DATADIR%%/bmeps.txt \
+		%%DATADIR%%/de/bmeps.stt.bz2 \
+		%%DATADIR%%/de/bmeps.txt
+PLIST_DIRS=	%%DATADIR%%/de \
+		%%DATADIR%%
+
+post-build:
+	@(cd ${WRKSRC} && ./stc --/log/stderr/level=error \
+		--log/stdout/level=none --/log/file/keep=none \
+		bmeps.str share/dktools)
 
 do-install:
-	@${MKDIR}		${DATADIR}
-	@${INSTALL_PROGRAM}	${WRKSRC}/bmeps					${PREFIX}/bin
-	@${INSTALL_MAN}		${WRKSRC}/man/man1/bmeps.1			${MANPREFIX}/man/man1
-	@${INSTALL_DATA}	${WRKSRC}/bmeps.str				${DATADIR}
-	@${INSTALL_DATA}	${WRKSRC}/share/dktools/en/bmeps.stt.bz2	${DATADIR}
-	@${INSTALL_DATA}	${WRKSRC}/share/dktools/en/bmeps.txt		${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} bmeps ${PREFIX}/bin)
+	(cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} bmeps.1 ${MANPREFIX}/man/man1)
+	@${MKDIR} ${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} bmeps.str ${DATADIR})
+	(cd ${WRKSRC}/share/dktools/en && ${INSTALL_DATA} bmeps.* ${DATADIR})
+	@${MKDIR} ${DATADIR}/de
+	(cd ${WRKSRC}/share/dktools/de && ${INSTALL_DATA} bmeps.* ${DATADIR}/de)
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/bmeps/distinfo graphics/bmeps/distinfo
--- /usr/ports/graphics/bmeps/distinfo	2012-11-08 09:29:11.000000000 +0900
+++ graphics/bmeps/distinfo	2012-12-05 19:21:53.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (dktools-2.2.24.zip) = e72df91857737032fa9359411e74ebcda2a71b19e7cc583e8052768c5d4e3bcb
-SIZE (dktools-2.2.24.zip) = 5811240
+SHA256 (dktools-2.2.26.zip) = f618f1b663f777c57ba5b3b9370a9103a77b91acb5c804764afe2f47cce29aab
+SIZE (dktools-2.2.26.zip) = 5813528
diff -urN /usr/ports/graphics/bmeps/pkg-plist graphics/bmeps/pkg-plist
--- /usr/ports/graphics/bmeps/pkg-plist	2012-11-08 09:29:11.000000000 +0900
+++ graphics/bmeps/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,6 +0,0 @@
-@comment $FreeBSD: head/graphics/bmeps/pkg-plist 300896 2012-07-14 13:54:48Z beat $
-bin/bmeps
-%%DATADIR%%/bmeps.stt.bz2
-%%DATADIR%%/bmeps.str
-%%DATADIR%%/bmeps.txt
-@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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