From a78b8f9d56dae2e81fc02fbbba185bf01dbe0eea Mon Sep 17 00:00:00 2001 From: araujo Date: Mon, 21 Jan 2013 03:35:52 +0000 Subject: - Update to 2.2.26. - Trim header. PR: ports/174170 Submitted by: KATO Tsuguru --- graphics/bmeps/Makefile | 56 ++++++++++++++++++++++++++++-------------------- graphics/bmeps/distinfo | 4 ++-- graphics/bmeps/pkg-plist | 6 ------ 3 files changed, 35 insertions(+), 31 deletions(-) delete mode 100644 graphics/bmeps/pkg-plist (limited to 'graphics/bmeps') diff --git a/graphics/bmeps/Makefile b/graphics/bmeps/Makefile index 24e8e8e28544..dd9897804385 100644 --- a/graphics/bmeps/Makefile +++ b/graphics/bmeps/Makefile @@ -1,12 +1,8 @@ -# New ports collection makefile for: bmeps -# Date created: 6 Jan 2004 -# Whom: Hideyuki KURASHINA -# +# Created by: Hideyuki KURASHINA # $FreeBSD$ -# 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= BSD 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 diff --git a/graphics/bmeps/distinfo b/graphics/bmeps/distinfo index 17823781fd3e..3682c50b322d 100644 --- a/graphics/bmeps/distinfo +++ b/graphics/bmeps/distinfo @@ -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 --git a/graphics/bmeps/pkg-plist b/graphics/bmeps/pkg-plist deleted file mode 100644 index a3688904a495..000000000000 --- a/graphics/bmeps/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -@comment $FreeBSD$ -bin/bmeps -%%DATADIR%%/bmeps.stt.bz2 -%%DATADIR%%/bmeps.str -%%DATADIR%%/bmeps.txt -@dirrm %%DATADIR%% -- cgit