mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Update to 2.2.26.
- Trim header. PR: ports/174170 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
c9b5f68830
commit
8d8cfdef13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310742
@ -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>
|
||||
|
@ -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
|
||||
|
@ -1,6 +0,0 @@
|
||||
@comment $FreeBSD$
|
||||
bin/bmeps
|
||||
%%DATADIR%%/bmeps.stt.bz2
|
||||
%%DATADIR%%/bmeps.str
|
||||
%%DATADIR%%/bmeps.txt
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user