blob: cc1c3c518ace93507cd85326ebff66453941533b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: bmeps
# Date created: 6 Jan 2004
# Whom: Hideyuki KURASHINA <rushani@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bmeps
PORTVERSION= 2.2.22
PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= SF/dktools/dktools/dktools-${PORTVERSION}
DISTNAME= dktools-${PORTVERSION}
MAINTAINER= rfarmer@predatorlabs.net
COMMENT= Convert bitmap images (PNG/JPEG/NetPBM) to EPS
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/bsdlic.txt
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
netpbm:${PORTSDIR}/graphics/netpbm \
png:${PORTSDIR}/graphics/png
USE_ZIP= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
MAKE_ARGS= bmeps
CFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/dktools\
--with-lzw\
--libdir=${PREFIX}/lib\
--includedir=${PREFIX}/include
MAN1= bmeps.1
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}
.include <bsd.port.mk>
|