diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2013-01-21 03:35:52 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2013-01-21 03:35:52 +0000 |
commit | 8d8cfdef13ff9f5cae3491073d9ac80fc567ec5c (patch) | |
tree | 2e455f024317f0f624eacb634eb20f0f75e9c274 /graphics/bmeps | |
parent | c9b5f68830247b6bf70c95c4e7edec44ab972006 (diff) | |
download | ports-8d8cfdef13ff9f5cae3491073d9ac80fc567ec5c.tar.gz ports-8d8cfdef13ff9f5cae3491073d9ac80fc567ec5c.zip |
Notes
Diffstat (limited to 'graphics/bmeps')
-rw-r--r-- | graphics/bmeps/Makefile | 56 | ||||
-rw-r--r-- | graphics/bmeps/distinfo | 4 | ||||
-rw-r--r-- | graphics/bmeps/pkg-plist | 6 |
3 files changed, 35 insertions, 31 deletions
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 <rushani@FreeBSD.org> -# +# Created by: Hideyuki KURASHINA <rushani@FreeBSD.org> # $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 <bsd.port.mk> 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%% |