aboutsummaryrefslogtreecommitdiffstats
path: root/print/photoprint/Makefile
blob: 9f6365fe3db01b569b8531a1d460a66f4eb4fbe3 (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
# $FreeBSD$

PORTNAME=   photoprint
DISTVERSION=    0.4.2-pre2
PORTREVISION=   6
CATEGORIES= print graphics
MASTER_SITES=   http://www.blackfiveimaging.co.uk/photoprint/

MAINTAINER= bsam@FreeBSD.org
COMMENT=    Utility to print multiple images per sheet

LICENSE=    GPLv2

LIB_DEPENDS=    libcups.so:${PORTSDIR}/print/cups \
        libgutenprint.so:${PORTSDIR}/print/gutenprint-base \
        liblcms.so:${PORTSDIR}/graphics/lcms \
        libnetpbm.so:${PORTSDIR}/graphics/netpbm \
        libpng.so:${PORTSDIR}/graphics/png \
        libtiff.so:${PORTSDIR}/graphics/tiff

GNU_CONFIGURE=  yes
USES=       desktop-file-utils gettext jpeg libtool pkgconfig
USE_GNOME=  gdkpixbuf2 gtk20
USE_XORG=   x11
INSTALLS_ICONS= yes

CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib -lX11

post-patch:
    @${REINPLACE_CMD} -e 's|glib/gstrfuncs.h|glib.h|g' \
        ${WRKSRC}/gp_cppsupport/gprinter.cpp

.include <bsd.port.mk>