aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/bmeps/Makefile
blob: 341ae268ca441ab72d8904088636893a3af6c5e6 (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
# New ports collection makefile for:    bmeps
# Date created:             6 Jan 2004
# Whom:                 Hideyuki KURASHINA <rushani@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   bmeps
PORTVERSION=    2.1.2
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= corky1951@comcast.net
COMMENT=    Convert bitmap images (PNG/JPEG/NetPBM) to EPS

LIB_DEPENDS=    dkbif.1:${PORTSDIR}/devel/dklibs

CONFIGURE_ENV=  CPPFLAGS="-I${PREFIX}/include"
GNU_CONFIGURE=  yes
MAKE_ENV+=  LDFLAGS="-L${LOCALBASE}/lib"

.if !defined(NO_INSTALL_MANPAGES)
MAN1=   bmeps.1
.endif

post-install:
.if !defined(NO_INSTALL_MANPAGES)
    ${MKDIR} ${MAN1PREFIX}/man/man1
    ${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MANPREFIX}/man/man1
.endif

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/DOCU/*.css ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/DOCU/*.pdf ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/DOCU/*.png ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/DOCU/*.html ${DOCSDIR}
.endif

.include <bsd.port.mk>