aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/netpbm/Makefile
blob: da5b82953c6f8e90139049f9e1b7186d0af8dc8b (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
# New ports collection makefile for:    netpbm
# Date created:     ?
# Whom:         jmz (original)
#
# $FreeBSD$
#

PORTNAME=   netpbm
PORTVERSION=    9.14
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    tiff.4:${PORTSDIR}/graphics/tiff \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        png.4:${PORTSDIR}/graphics/png

USE_GMAKE=  yes
MAKEFILE=   GNUmakefile
ALL_TARGET= merge
INSTALL_TARGET= install-merge install-dev
INSTALLS_SHLIB= yes

.include <bsd.port.pre.mk>

.include "${FILESDIR}/manpages"

post-patch:
    @${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/pbmplus.h
    @${CP} ${FILESDIR}/Makefile.config.FreeBSD ${WRKSRC}/Makefile.config
    @${LN} -sf ${WRKSRC}/shhopt/shhopt.h ${WRKSRC}/shhopt/pbmshhopt.h

.include <bsd.port.post.mk>